mirror of https://github.com/dirtbags/moth.git
Hackishly fixing race condition in test
This commit is contained in:
parent
a163561431
commit
5ced8b6624
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue