diff --git a/tests/test_server.rs b/tests/test_server.rs index 4dacd7c..6faab7b 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -449,7 +449,7 @@ async fn handle_or_drop_publish_after_disconnect( .unwrap(); io.encode(codec::Packet::Disconnect, &codec).unwrap(); io.flush(true).await.unwrap(); - sleep(Millis(350)).await; + sleep(Millis(1250)).await; io.close(); drop(io); sleep(Millis(250)).await;