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
Catch violations in times(...) expectations (#2766)
* Catch violations in times(...) expectations
Adds a new quit() method to universe that causes all spawned actors
to quit. It also collects actors exit codes that can be used to verify
that all actors quit gracefully, which in turn allows to fail the test
if mock objects expectations are not met.
Relates to #2754
* Make clippy and rustfmt happy
* Fix test_indexer_trigger_on_memory_limit
* Update quickwit/quickwit-actors/src/actor_handle.rs
Improve panic handling
Co-authored-by: Paul Masurel <[email protected]>
* Add universe.assert_quit() method
Also adds a check to the universe.drop() to make sure that
universe.assert_quit() was indeed called at the end of the test.
* Stop test_ingest_api_source tests from hanging.
* Fix compilation errors when testing a single crate
Seems like rust-lang/cargo#8379 is the issue
here.
* Update assert_quits after merge
* Avoid using map with side-effects.
Co-authored-by: Paul Masurel <[email protected]>
* Switch ActorJoinHandle to Shared
* Explain why we join ingest source first
* There should be only one universe.
* Fix format
---------
Co-authored-by: Paul Masurel <[email protected]>
0 commit comments