Skip to content

Commit 4e88cd2

Browse files
committed
increase to 2000
1 parent cabf807 commit 4e88cd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

npm/pkg/dataplane/dataplane_linux_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func TestNetPolInBackgroundUpdatePolicy(t *testing.T) {
8282
require.NoError(t, err)
8383
defer func() {
8484
stopCh <- struct{}{}
85-
time.Sleep(1500 * time.Millisecond)
85+
time.Sleep(2000 * time.Millisecond)
8686
klog.Info("defer for TestNetPolInBackgroundUpdatePolicy finished")
8787
}()
8888

@@ -91,12 +91,12 @@ func TestNetPolInBackgroundUpdatePolicy(t *testing.T) {
9191
err = dp.AddPolicy(&testPolicyobj)
9292
require.NoError(t, err)
9393

94-
time.Sleep(1500 * time.Millisecond)
94+
time.Sleep(2000 * time.Millisecond)
9595

9696
err = dp.UpdatePolicy(&updatedTestPolicyobj)
9797
require.NoError(t, err)
9898

99-
time.Sleep(1500 * time.Millisecond)
99+
time.Sleep(2000 * time.Millisecond)
100100

101101
linuxPromVals{2, 1, 0, 0, 1}.assert(t)
102102
}

0 commit comments

Comments
 (0)