File tree Expand file tree Collapse file tree 5 files changed +5
-13
lines changed
Expand file tree Collapse file tree 5 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1414
1515import java .util .List ;
1616
17- class ClusterInsert {
17+ public class ClusterInsert {
1818 public int id ;
1919 public int port ;
2020 public int listen ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public static String getURIForPort(int port) {
4646
4747 /**
4848 * Set the path for the
49- * @param serverPath
49+ * @param serverPath the fully qualified path of the server
5050 */
5151 public static void setServerPath (String serverPath ) {
5252 SERVER_PATH = serverPath ;
@@ -169,12 +169,4 @@ private static List<ClusterInsert> finishCreateClusterInserts(String clusterName
169169 }
170170 return clusterInserts ;
171171 }
172-
173- public static void main (String [] args ) throws IOException {
174- List <ClusterInsert > clusterInserts = createClusterInserts (4 );
175- System .out .println (clusterInserts .get (0 ));
176- System .out .println (clusterInserts .get (1 ));
177- System .out .println (clusterInserts .get (2 ));
178- System .out .println (clusterInserts .get (3 ));
179- }
180172}
Original file line number Diff line number Diff line change 1919
2020import static nats .io .NatsRunnerUtils .createClusterInserts ;
2121
22- class NatsClusterTest extends TestBase {
22+ public class NatsClusterTest extends TestBase {
2323
2424 @ Test
2525 public void testCreateCluster () throws IOException , InterruptedException {
Original file line number Diff line number Diff line change 2121import java .util .Arrays ;
2222import java .util .stream .Stream ;
2323
24- class NatsServerRunnerTest extends TestBase {
24+ public class NatsServerRunnerTest extends TestBase {
2525
2626 @ Test
2727 public void testWithoutConfigDefault () throws IOException , InterruptedException {
Original file line number Diff line number Diff line change 2929import static org .junit .jupiter .api .Assertions .assertTrue ;
3030import static org .junit .platform .commons .util .CollectionUtils .toUnmodifiableList ;
3131
32- class TestBase {
32+ public class TestBase {
3333
3434 protected static final String SOURCE_CONFIG_FILE_PATH = "src/test/resources/" ;
3535
You can’t perform that action at this time.
0 commit comments