mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue