We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1604c31 commit fb313f8Copy full SHA for fb313f8
tests/junit-functional/org/jgroups/tests/TimeSchedulerTest.java
@@ -151,7 +151,7 @@ public void testShutdown() throws TimeoutException {
151
152
Util.waitUntil(10000, 200, () -> timer.size() == 10);
153
timer.stop();
154
- Util.waitUntil(2000, 200, () -> timer.size() == 0);
+ Util.waitUntil(10000, 200, () -> timer.size() == 0);
155
int size=timer.size();
156
assert size == 0 : "size=" + size + " (should be 0)";
157
}
@@ -160,9 +160,7 @@ public void testShutdown() throws TimeoutException {
160
/** Adds a task after shut down */
161
public void testShutdown2() {
162
163
-
164
timer.schedule(() -> System.out.print("."), 500, TimeUnit.MILLISECONDS);
165
166
167
assert size == 0;
168
0 commit comments