Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Apr 15, 2024
1 parent f799841 commit bf8d53d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,9 @@ async fn handle_or_drop_publish_after_disconnect(
.unwrap();
io.encode(codec::Packet::Disconnect, &codec).unwrap();
io.flush(true).await.unwrap();
io.force_close();
drop(io);
sleep(Millis(500)).await;
sleep(Millis(250)).await;

assert!(disconnect.load(Relaxed));

Expand Down

0 comments on commit bf8d53d

Please sign in to comment.