JCLOUDS-1340: Disable BackoffLimitedRetryHandlerTest

These often fail in our continuous integration tests.
This commit is contained in:
Andrew Gaul 2017-09-11 18:47:04 -07:00
parent 64553eda5f
commit 31f528263a
1 changed files with 4 additions and 2 deletions

View File

@ -76,7 +76,8 @@ public class BackoffLimitedRetryHandlerTest {
} }
@Test // TODO: disabled since this often fails due to race conditions
@Test(enabled = false)
void testExponentialBackoffDelaySmallInterval5() throws InterruptedException { void testExponentialBackoffDelaySmallInterval5() throws InterruptedException {
long period = 5; long period = 5;
long acceptableDelay = period - 1; long acceptableDelay = period - 1;
@ -87,7 +88,8 @@ public class BackoffLimitedRetryHandlerTest {
assertThat(elapsedTime).isBetween(period, period + acceptableDelay); assertThat(elapsedTime).isBetween(period, period + acceptableDelay);
} }
@Test // TODO: disabled since this often fails due to race conditions
@Test(enabled = false)
void testExponentialBackoffDelaySmallInterval1() throws InterruptedException { void testExponentialBackoffDelaySmallInterval1() throws InterruptedException {
long period = 1; long period = 1;
long acceptableDelay = 5; long acceptableDelay = 5;