mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Co-authored-by: dahn <daan.hoogland@gmail.com> Co-authored-by: dahn <daan.hoogland@gmail.com>
This commit is contained in:
parent
025b654b5d
commit
0094cf44e1
@ -44,7 +44,8 @@ public class ConstantTimeBackoffTest {
|
||||
Thread.sleep(100);
|
||||
Assert.assertFalse(backoff.getWaiters().isEmpty());
|
||||
waitThread.interrupt();
|
||||
Thread.sleep(100);
|
||||
final int TIMEOUT_AFTER_INTERUPT = 500;
|
||||
Thread.sleep(TIMEOUT_AFTER_INTERUPT);
|
||||
Assert.assertTrue(backoff.getWaiters().isEmpty());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user