Skip to content

Commit 311f56a

Browse files
committed
Fix compilation errors when testing a single crate
Seems like rust-lang/cargo#8379 is the issue here.
1 parent 91fef8b commit 311f56a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

quickwit/quickwit-indexing/src/test_utils.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,14 @@ impl TestSandbox {
201201

202202
#[cfg(any(test, feature = "testsuite"))]
203203
pub async fn assert_quit(self) {
204-
self.universe.assert_quit().await;
204+
use quickwit_actors::ActorExitStatus;
205+
206+
assert!(!self
207+
.universe
208+
.quit()
209+
.await
210+
.into_iter()
211+
.any(|status| matches!(status, ActorExitStatus::Panicked)));
205212
}
206213
}
207214

0 commit comments

Comments
 (0)