Skip to content

Commit fb313f8

Browse files
committed
ns
1 parent 1604c31 commit fb313f8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/junit-functional/org/jgroups/tests/TimeSchedulerTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public void testShutdown() throws TimeoutException {
151151

152152
Util.waitUntil(10000, 200, () -> timer.size() == 10);
153153
timer.stop();
154-
Util.waitUntil(2000, 200, () -> timer.size() == 0);
154+
Util.waitUntil(10000, 200, () -> timer.size() == 0);
155155
int size=timer.size();
156156
assert size == 0 : "size=" + size + " (should be 0)";
157157
}
@@ -160,9 +160,7 @@ public void testShutdown() throws TimeoutException {
160160
/** Adds a task after shut down */
161161
public void testShutdown2() {
162162
timer.stop();
163-
164163
timer.schedule(() -> System.out.print("."), 500, TimeUnit.MILLISECONDS);
165-
166164
int size=timer.size();
167165
assert size == 0;
168166
}

0 commit comments

Comments
 (0)