[FTR][Serverless] Err handling needed in search_source_alert.ts
#193842
Labels
failed-test
A test failure on a tracked branch, potentially flaky-test
FTR
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)
test-failure-flaky
After investigating failures in our serverless ftr test runs (real mki), it seems prudent to add some error handling and perhaps some retry logic around some of the calls within:
x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts
&&
x-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/discover/search_source_alert.ts
...duplicates
One of the failed calls is createSourceIndex, with an err msg of:
Although it is nice that the info is redacted, it doesn't tell me much as a maintainer and not the author of this.
One option is to add this to a re-useable service.
Even if we don't move it to a service, a try / catch with an err msg such as the following would be more helpful for debugging
\cc @davismcphee
Continuation
This morning at midnight we've has more failures in this file:
x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert.ts
await checkUpdatedDataViewState('search-s*');
Err Msg
Screen Shot
await testSubjects.click('confirmModalConfirmButton');
Err Msg
Screen Shot
The text was updated successfully, but these errors were encountered: