From b549f82ce55c5760c5bdd70ce5d64296ae693f9e Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 5 Nov 2024 01:29:19 +0100 Subject: [PATCH] test: even more time to disconnect? --- src/tests/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/client.rs b/src/tests/client.rs index dfdbd84..b5da984 100644 --- a/src/tests/client.rs +++ b/src/tests/client.rs @@ -118,8 +118,8 @@ async fn test_attach_after_leave() { WorkspaceFixture::one("alice", "test-attach-after-leave") => |client, workspace| { client.leave_workspace(&workspace.id()); // TODO this is very server specific! disconnect may be instant or caught with next - // keepalive, let's arbitrarily say that after 20 seconds we should have been disconnected - tokio::time::sleep(std::time::Duration::from_secs(20)).await; + // keepalive, let's arbitrarily say that after 30 seconds we should have been disconnected + tokio::time::sleep(std::time::Duration::from_secs(30)).await; client.attach_workspace(&workspace.id()).await?; Ok(()) }