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
fix(test): Stabilize flaky test by awaiting model deployment
The test testNeuralQueryEnricherProcessor_whenNoModelIdPassed_statsEnabled_thenSuccess
was failing intermittently due to a race condition where the search query
was executed before the model finished deploying.
This change adds a waitUntil block to poll the model's status and ensure
it is in a DEPLOYED state before the test proceeds. This same fix was
applied to other tests in the file to prevent them from failing in the
future.
Fixes#1599
Signed-off-by: Umarov Ismoiljon <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
10
### Enhancements
11
11
12
12
### Bug Fixes
13
+
- Fix flaky test in `NeuralQueryEnricherProcessorIT` by waiting for model deployment ([#1617](https://github.com/opensearch-project/neural-search/pull/1617))
0 commit comments