Skip to content

Commit

Permalink
Fix unstable tests in onidle package (#989)
Browse files Browse the repository at this point in the history
* fix test instability in onidle package

Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

* increase test wait in onidle to 250 ms

Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>
  • Loading branch information
d-uzlov authored Jun 22, 2021
1 parent dade4d5 commit ff6a8e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/networkservice/common/onidle/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import (
)

const (
testWait = 100 * time.Millisecond
testTick = testWait / 100
testWait = 250 * time.Millisecond
testTick = 10 * time.Millisecond
)

func TestIdleNotifier_Disable(t *testing.T) {
Expand Down

0 comments on commit ff6a8e3

Please sign in to comment.