Skip to content

Commit

Permalink
update to 1500 for defer
Browse files Browse the repository at this point in the history
  • Loading branch information
rayaisaiah committed Mar 7, 2025
1 parent 0a2d1ba commit 117c5d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions npm/pkg/dataplane/dataplane_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestNetPolInBackgroundUpdatePolicy(t *testing.T) {
require.NoError(t, err)
defer func() {
stopCh <- struct{}{}
time.Sleep(3000 * time.Millisecond)
time.Sleep(1500 * time.Millisecond)
klog.Info("defer for TestNetPolInBackgroundUpdatePolicy finished")
}()

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

time.Sleep(3000 * time.Millisecond)
time.Sleep(100 * time.Millisecond)

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

time.Sleep(3000 * time.Millisecond)
time.Sleep(100 * time.Millisecond)

linuxPromVals{2, 1, 0, 0, 1}.assert(t)
}
Expand Down

0 comments on commit 117c5d8

Please sign in to comment.