Skip to content

Commit 1af50fe

Browse files
sgdxbcemichael
authored andcommitted
Replace number literals with variables
1 parent 43a03e4 commit 1af50fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

labs/lab4-shardedstore/tst/dslabs/shardkv/ShardStorePart1Test.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void test02JoinLeave() throws InterruptedException {
7979

8080
runState.start(runSettings);
8181

82-
joinGroup(1, 3);
82+
joinGroup(1, numServersPerGroup);
8383

8484
Client client = runState.addClient(client(1));
8585
Map<String, String> kv = new HashMap<>();
@@ -131,7 +131,7 @@ public void test03ShardsMoveOnJoin() throws InterruptedException {
131131

132132
runState.start(runSettings);
133133

134-
joinGroup(1, 3);
134+
joinGroup(1, numServersPerGroup);
135135

136136
Client client = runState.addClient(client(1));
137137
Map<String, String> kv = new HashMap<>();
@@ -182,7 +182,7 @@ public void test04ShardsMoveOnMove() throws InterruptedException {
182182

183183
runState.start(runSettings);
184184

185-
joinGroup(1, 3);
185+
joinGroup(1, numServersPerGroup);
186186

187187
Client client = runState.addClient(client(1));
188188
Map<String, String> kv = new HashMap<>();

0 commit comments

Comments
 (0)