diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index e91304347..08eb9ea81 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -568,7 +568,8 @@ func AwaitUntil(opMsg string, doOperation DoOperationFunc, checkResult CheckResu func AwaitResultOrError(opMsg string, doOperation DoOperationFunc, checkResult CheckResultFunc) (interface{}, string, error) { var finalResult interface{} var lastMsg string - err := wait.PollUntilContextTimeout(context.Background(), 5*time.Second, time.Duration(TestContext.OperationTimeout)*time.Second, true, + err := wait.PollUntilContextTimeout(context.Background(), 500*time.Millisecond, + time.Duration(TestContext.OperationTimeout)*time.Second, true, func(_ context.Context) (bool, error) { result, err := doOperation() if err != nil {