You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search epic test "produces the search epic with two services with more results than default limit" loads two result files:
Wyoming (containing ids states.x) and Arizona (containing ids states-ari.x).
It then tests that the combined limited search always produces 5 results from the Wyoming file, even after both services have loaded. However, which service source produces results first seems to be non-deterministic and differ between MacOS and Windows, with the test running on MacOS failing because the Arizona file loads first sometimes.
How to reproduce
Run the search-test on MacOS.
Expected Result
The test to run through.
Current Result
The test "produces the search epic with two services with more results than default limit" fails because it receives states-ari.1 instead of states.1.
Not browser related
Other useful information
We already fixed this in our version by
setting a different priority for the services
accepting results from either file in the first emitted result action
only accepting results from the file with higher priority in the second result action
but forgot to play it back. Will open a PR shortly.
The text was updated successfully, but these errors were encountered:
Apparently, which search service observable emits results first does not depend on the order
in which they are passed into the search. The test however assumed there to be an
order, causing it to break on MacOS. This is now fixed.
On Behalf of DB Systel
Description
The search epic test
"produces the search epic with two services with more results than default limit"
loads two result files:Wyoming (containing ids
states.x
) and Arizona (containing idsstates-ari.x
).It then tests that the combined limited search always produces 5 results from the Wyoming file, even after both services have loaded. However, which service source produces results first seems to be non-deterministic and differ between MacOS and Windows, with the test running on MacOS failing because the Arizona file loads first sometimes.
How to reproduce
Run the
search-test
on MacOS.Expected Result
The test to run through.
Current Result
The test
"produces the search epic with two services with more results than default limit"
fails because it receivesstates-ari.1
instead ofstates.1
.Other useful information
We already fixed this in our version by
but forgot to play it back. Will open a PR shortly.
The text was updated successfully, but these errors were encountered: