Silence ExpirationCallbackTests#testPreExpirationScheduleTime()

Relates elastic/x-pack-elasticsearch#869

Original commit: elastic/x-pack-elasticsearch@fcba6847a0
This commit is contained in:
Daniel Mitterdorfer 2017-03-29 09:00:35 +02:00
parent 84645fc578
commit e5b7148fee
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ public class ExpirationCallbackTests extends ESTestCase {
assertThat(pre.delay(expiryDuration.millis() + now, now), equalTo(TimeValue.timeValueMillis(0)));
}
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/869")
public void testPreExpirationScheduleTime() throws Exception {
TimeValue expiryDuration = TimeValue.timeValueSeconds(randomIntBetween(5, 10));
TimeValue min = TimeValue.timeValueSeconds(1);