[Search Sessions] Improve functional tests due to a warning on fail to restore a search #116148
Labels
Feature:Search Sessions
Feature:Search
Querying infrastructure in Kibana
Icebox
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
During work on #113950 there was a single test failure related to search sessions:
It turned out that the search session feature was broken at that point with failing to restore any searches. Most of the tests were passing, but only a single failure.
We need to review our tests so that in case the feature is degraded there is a more obvious indication of a problem:
During the initial feature, implementation searches were failed (and tests) in case of no search hash match during session restoration. But in #102057 we allowed searches to proceed with a warning in case no matches. With that change, we didn't properly update our tests to check if there are warnings that we don't expect.
As work on #113950 showed, the current test suite mostly passes in case searches can't be restored
The text was updated successfully, but these errors were encountered: