Skip to content

Commit 3e3c67d

Browse files
committed
fix: network test delete namespace increased timeout
1 parent eb5450b commit 3e3c67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/liqoctl/test/network/setup/namespace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func RemoveNamespace(ctx context.Context, cl *client.Client) error {
7676
}
7777
timeout, cancel := context.WithTimeout(ctx, 10*time.Minute)
7878
defer cancel()
79-
if err := wait.PollUntilContextCancel(timeout, 1*time.Second, true, func(ctx context.Context) (done bool, err error) {
79+
if err := wait.PollUntilContextCancel(timeout, 10*time.Second, true, func(ctx context.Context) (done bool, err error) {
8080
if err := cl.Consumer.Get(ctx, ctrlclient.ObjectKeyFromObject(ns), ns); err != nil {
8181
return ctrlclient.IgnoreNotFound(err) == nil, nil
8282
}

0 commit comments

Comments
 (0)