Skip to content

Commit

Permalink
Fix ack test race
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
  • Loading branch information
Jarema committed Jul 8, 2022
1 parent 50e33cf commit 7ecfe6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-nats/tests/jetstream_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ mod jetstream {
}
client.flush().await.unwrap();

tokio::time::sleep(Duration::from_millis(100)).await;
tokio::time::sleep(Duration::from_millis(500)).await;
let info = consumer.info().await.unwrap();
assert_eq!(info.num_ack_pending, 8);

Expand Down

0 comments on commit 7ecfe6b

Please sign in to comment.