Skip to content

Commit 1388791

Browse files
committed
[ML] Increase datafeed integration test timeout for slow machines (#39311)
The assertBusy() that waits the default 10 seconds for a datafeed to complete very occasionally times out on slow machines. This commit increases the timeout to 60 seconds. It will almost never actually take this long, but it's better to have a timeout that will prevent time being wasted looking at spurious test failures.
1 parent be14c60 commit 1388791

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/ml/qa/native-multi-node-tests/src/test/java/org/elasticsearch/xpack/ml/integration

1 file changed

+1
-1
lines changed

x-pack/plugin/ml/qa/native-multi-node-tests/src/test/java/org/elasticsearch/xpack/ml/integration/DatafeedJobsRestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ private void startDatafeedAndWaitUntilStopped(String datafeedId, String authHead
11061106
} catch (Exception e) {
11071107
throw new RuntimeException(e);
11081108
}
1109-
});
1109+
}, 60, TimeUnit.SECONDS);
11101110
}
11111111

11121112
private void waitUntilJobIsClosed(String jobId) throws Exception {

0 commit comments

Comments
 (0)