Skip to content

Commit

Permalink
[ML] Functional tests - increase wait time for DFA start (elastic#77307)
Browse files Browse the repository at this point in the history
This PR stabilizes the DFA creation tests on cloud environments by increasing the timeout after DFA start.
  • Loading branch information
pheyos committed Sep 14, 2020
1 parent 4bcb2ba commit 33e54cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional/services/ml/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export function MachineLearningAPIProvider({ getService }: FtrProviderContext) {
async waitForDFAJobTrainingRecordCountToBePositive(analyticsId: string) {
await retry.waitForWithTimeout(
`'${analyticsId}' to have training_docs_count > 0`,
10 * 1000,
60 * 1000,
async () => {
const trainingRecordCount = await this.getDFAJobTrainingRecordCount(analyticsId);
if (trainingRecordCount > 0) {
Expand Down

0 comments on commit 33e54cc

Please sign in to comment.