mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 21:33:19 -06:00
Race fix
This commit is contained in:
parent
bb85f48f6b
commit
c7dcfe070f
|
|
@ -230,6 +230,9 @@ func TestQuerySharedUsers(t *testing.T) {
|
|||
|
||||
MustWriteOutputEvent(t, producer, mustMakeMembershipEvent(t, "!foo4:bar", "@alice:localhost", "join"))
|
||||
|
||||
// we don't know when the server has processed the events
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
|
||||
testCases := []struct {
|
||||
req api.QuerySharedUsersRequest
|
||||
wantRes api.QuerySharedUsersResponse
|
||||
|
|
|
|||
Loading…
Reference in a new issue