diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/async/AsyncResultsServiceTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/async/AsyncResultsServiceTests.java index bd5a1d66dae..ea9920be84a 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/async/AsyncResultsServiceTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/async/AsyncResultsServiceTests.java @@ -154,7 +154,7 @@ public class AsyncResultsServiceTests extends ESSingleNodeTestCase { TestTask task = (TestTask) taskManager.register("test", "test", new TestRequest("test request")); try { boolean shouldExpire = randomBoolean(); - long expirationTime = System.currentTimeMillis() + randomLongBetween(1000, 10000) * (shouldExpire ? -1 : 1); + long expirationTime = System.currentTimeMillis() + randomLongBetween(100000, 1000000) * (shouldExpire ? -1 : 1); task.setExpirationTime(expirationTime); if (updateInitialResultsInStore) {