From e688468262ffd47f187e2756f9559cc83266eab6 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 17 Nov 2023 17:14:31 +0000 Subject: [PATCH] Wait longer --- tests/membership_acls_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/membership_acls_test.go b/tests/membership_acls_test.go index 56128f3..3bca678 100644 --- a/tests/membership_acls_test.go +++ b/tests/membership_acls_test.go @@ -59,7 +59,7 @@ func TestAliceBobEncryptionWorks(t *testing.T) { // sends the event. bob := MustLoginClient(t, clientTypeB, api.FromComplementClient(csapiBob, "complement-crypto-password"), ss) defer bob.Close(t) - time.Sleep(100 * time.Millisecond) + time.Sleep(500 * time.Millisecond) alice := MustLoginClient(t, clientTypeA, api.FromComplementClient(csapiAlice, "complement-crypto-password"), ss) defer alice.Close(t) @@ -288,7 +288,7 @@ func TestOnRejoinBobCanSeeButNotDecryptHistoryInPublicRoom(t *testing.T) { // Similarly to TestAliceBobEncryptionWorks, log Bob in first. bob := MustLoginClient(t, clientTypeB, api.FromComplementClient(csapiBob, "complement-crypto-password"), ss) defer bob.Close(t) - time.Sleep(100 * time.Millisecond) + time.Sleep(500 * time.Millisecond) alice := MustLoginClient(t, clientTypeA, api.FromComplementClient(csapiAlice, "complement-crypto-password"), ss) defer alice.Close(t)