Skip to content

Commit

Permalink
[ML] Functional tests - increase wait time for DFA start (#77307) (#7…
Browse files Browse the repository at this point in the history
…7323)

This PR stabilizes the DFA creation tests on cloud environments by increasing the timeout after DFA start.
  • Loading branch information
pheyos authored Sep 14, 2020
1 parent f4cb144 commit af807ac
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 af807ac

Please sign in to comment.