Skip to content

Commit 91fef8b

Browse files
committed
Stop test_ingest_api_source tests from hanging.
1 parent f2c7cd7 commit 91fef8b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

quickwit/quickwit-indexing/src/source/ingest_api_source.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ mod tests {
307307
let doc_batches: Vec<RawDocBatch> = doc_processor_inbox.drain_for_test_typed();
308308
assert_eq!(doc_batches.len(), 2);
309309
assert!(doc_batches[1].docs[0].starts_with("038462"));
310+
ingest_api_source_handle.quit().await;
310311
universe.assert_quit().await;
311312
Ok(())
312313
}
@@ -407,6 +408,7 @@ mod tests {
407408
doc_batches[0].checkpoint_delta.partitions().next().unwrap(),
408409
&partition_id
409410
);
411+
ingest_api_source_handle.quit().await;
410412
universe.assert_quit().await;
411413

412414
Ok(())
@@ -459,6 +461,7 @@ mod tests {
459461
let doc_batches: Vec<RawDocBatch> = doc_processor_inbox.drain_for_test_typed();
460462
assert_eq!(doc_batches.len(), 1);
461463
assert!(doc_batches[0].docs[0].starts_with("000000"));
464+
ingest_api_source_handle.quit().await;
462465
universe.assert_quit().await;
463466
Ok(())
464467
}

0 commit comments

Comments
 (0)