mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ML] Always sync before serverless trained model tests (#169658)
Ensuring saved objects are synced before running the tests for the trained models. This should fix the occasional test failure where the build in `lang_ident_model_1` is missing from the list due to a sync being needed. Flaky test runner, all have passed. https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3703
This commit is contained in:
parent
9505fa9754
commit
aff871a84a
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
describe('Trained models list', () => {
|
||||
before(async () => {
|
||||
await PageObjects.svlCommonPage.login();
|
||||
await ml.api.syncSavedObjects();
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
|
|
|
@ -14,6 +14,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
describe('Trained models list', () => {
|
||||
before(async () => {
|
||||
await PageObjects.svlCommonPage.login();
|
||||
await ml.api.syncSavedObjects();
|
||||
});
|
||||
|
||||
after(async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue