Hackishly fixing race condition in test

This commit is contained in:
John Donaldson 2022-01-28 16:03:34 -08:00
parent a163561431
commit 5ced8b6624
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ func TestProdServer(t *testing.T) {
t.Error("Wrong error for duplicate registration:", err)
}
time.Sleep(10 * time.Millisecond)
if err := handler.AssignParticipant(); err != nil {
t.Error(err)
}