Skip to content

Commit

Permalink
Update tests/csapi/upload_keys_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Dec 17, 2024
1 parent 97c1592 commit dedcb0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/csapi/upload_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ func TestKeyClaimOrdering(t *testing.T) {
alice.MustDo(t, "POST", []string{"_matrix", "client", "v3", "keys", "upload"},
client.WithJSONBody(t, map[string]interface{}{"one_time_keys": otk1}))

// Ensure that there is a difference in timestamp between the two upload requests.
time.Sleep(1 * time.Second)

otk0 := map[string]interface{}{"signed_curve25519:0": oneTimeKeys["signed_curve25519:0"]}
Expand Down

0 comments on commit dedcb0a

Please sign in to comment.