We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd1444 commit 990d8e2Copy full SHA for 990d8e2
1 file changed
tests/room_keys_test.go
@@ -80,8 +80,8 @@ func TestRoomKeyIsCycledOnDeviceLogout(t *testing.T) {
80
// which should trigger a new room key to be sent (on message send)
81
csapiAlice2.MustDo(t, "POST", []string{"_matrix", "client", "v3", "logout"}, client.WithJSONBody(t, map[string]any{}))
82
83
- // we don't know how long it will take for the device list update to be processed, so wait 1s
84
- time.Sleep(time.Second)
+ // we don't know how long it will take for the device list update to be sent, delivered and processed, so wait 3s
+ time.Sleep(3 * time.Second)
85
86
// now send another message from Alice, who should negotiate a new room key
87
wantMsgBody = "Another Test Message"
0 commit comments