fix tests

This commit is contained in:
bcmmbaga
2024-08-16 12:24:06 +03:00
parent 8826196503
commit f29f8c009f
13 changed files with 57 additions and 61 deletions

View File

@@ -1301,7 +1301,7 @@ func TestUserAccountPeerUpdate(t *testing.T) {
select {
case <-done:
case <-time.After(200 * time.Millisecond):
case <-time.After(time.Second):
t.Error("timeout waiting for peerShouldNotReceiveUpdate")
}
})
@@ -1324,7 +1324,7 @@ func TestUserAccountPeerUpdate(t *testing.T) {
select {
case <-done:
case <-time.After(200 * time.Millisecond):
case <-time.After(time.Second):
t.Error("timeout waiting for peerShouldNotReceiveUpdate")
}
})
@@ -1342,7 +1342,7 @@ func TestUserAccountPeerUpdate(t *testing.T) {
select {
case <-done:
case <-time.After(200 * time.Millisecond):
case <-time.After(time.Second):
t.Error("timeout waiting for peerShouldNotReceiveUpdate")
}
})
@@ -1384,7 +1384,7 @@ func TestUserAccountPeerUpdate(t *testing.T) {
select {
case <-done:
case <-time.After(200 * time.Millisecond):
case <-time.After(time.Second):
t.Error("timeout waiting for peerShouldReceiveUpdate")
}
})
@@ -1409,7 +1409,7 @@ func TestUserAccountPeerUpdate(t *testing.T) {
select {
case <-done:
case <-time.After(200 * time.Millisecond):
case <-time.After(time.Second):
t.Error("timeout waiting for peerShouldReceiveUpdate")
}
})