Skip to content

Commit

Permalink
Wait longer
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Nov 17, 2023
1 parent 6905698 commit e688468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/membership_acls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit e688468

Please sign in to comment.