Skip to content

Commit e97344a

Browse files
committed
fix race
1 parent 4a49db9 commit e97344a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/watcher/instance/nginx-app-protect-instance-watcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func TestNginxAppProtectInstanceWatcher_Watch(t *testing.T) {
111111

112112
assert.Eventually(t, func() bool {
113113
return proto.Equal(nginxAppProtectInstanceWatcher.nginxAppProtectInstance, expectedInstance)
114-
}, timeout, 10*time.Millisecond)
114+
}, timeout, 30*time.Millisecond)
115115
})
116116
t.Run("Test 3: Delete instance", func(t *testing.T) {
117117
helpers.RemoveFileWithErrorCheck(t, versionFile.Name())

0 commit comments

Comments
 (0)