Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] [ML] Functional tests - stabilize date_nanos test (#59986) #60003

Merged
merged 1 commit into from
Mar 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ export default function({ getService }: FtrProviderContext) {
},
];

// FLAKY: https://github.com/elastic/kibana/issues/59419
describe.skip('job on data set with date_nanos time field', function() {
describe('job on data set with date_nanos time field', function() {
this.tags(['smoke', 'mlqa']);
before(async () => {
await esArchiver.load('ml/event_rate_nanos');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,13 @@ export function MachineLearningJobWizardCommonProvider(
withAdvancedSection: sectionOptions.withAdvancedSection,
})) === false
) {
await testSubjects.clickWhenNotDisabled(subj);
await retry.tryForTime(5 * 1000, async () => {
await testSubjects.clickWhenNotDisabled(subj);
await this.assertDedicatedIndexSwitchCheckedState(true, {
withAdvancedSection: sectionOptions.withAdvancedSection,
});
});
}
await this.assertDedicatedIndexSwitchCheckedState(true, {
withAdvancedSection: sectionOptions.withAdvancedSection,
});
},

async assertModelMemoryLimitInputExists(
Expand Down