Increase sleep in test a bit

since it seems flaky in CI
This commit is contained in:
Jonas Platte
2023-06-23 16:17:21 +02:00
parent 9b802998b3
commit 44ef302bc7

View File

@@ -185,8 +185,8 @@ async fn retry_order() {
assert_eq!(value.content().as_message().unwrap().body(), "First!");
});
// Wait 200ms for the first msg, 100ms for the second, 100ms for overhead
sleep(Duration::from_millis(400)).await;
// Wait 200ms for the first msg, 100ms for the second, 200ms for overhead
sleep(Duration::from_millis(500)).await;
// The second item should be updated first, since it was retried first
assert_next_matches!(timeline_stream, VectorDiff::Set { index: 1, value } => {