Skip to content

Commit

Permalink
Add test for callbacks guarantee
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed Jan 8, 2024
1 parent 28625da commit a5031c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/real/enterprise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ fn test_callback_will_not_be_queued_unless_batch_gets_committed() {
let mut p = Producer::connect(Some(&url)).unwrap();
let mut c = ConsumerBuilder::default();
c.register("order", move |_job| -> io::Result<_> { Ok(()) });
c.register("order_clean_up", move |_job| -> io::Result<_> { Ok(()) });
let mut c = c.connect(Some(&url)).unwrap();
let mut t = Tracker::connect(Some(&url)).unwrap();

Expand Down

0 comments on commit a5031c3

Please sign in to comment.