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: replace sleep-based waits with wait_for_status in tests
Replace tokio::time::sleep() and bare stop() calls with proper
wait_for_status() guards to eliminate race conditions where stop()
is called before components finish their Starting → Running transition.
Files fixed:
- api_integration_test: wait before query results assertion
- api_state_consistency_test: replace 5 sleep() calls with wait_for_status
- bootstrap_results_test: graceful stop for bootstrap source
- library_integration_test: wait for source Running before stop
- persist_index_test: wait for component_graph Running before stop
- server_integration_test: wait for concurrent source Running
- server_start_stop_test: wait for Running/Stopped between cycles
- state_store_test: wait for component_graph Running before stop
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments