Skip to content

Commit

Permalink
Switch from fetch to batch in test
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
Jarema committed May 23, 2024
1 parent ec6331c commit 0942c47
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 @@ -2375,7 +2375,7 @@ mod jetstream {
.unwrap();
}

let mut iter = consumer.fetch().max_messages(100).messages().await.unwrap();
let mut iter = consumer.batch().max_messages(10).messages().await.unwrap();
client.flush().await.unwrap();

tryhard::retry_fn(|| async {
Expand Down

0 comments on commit 0942c47

Please sign in to comment.