From 2eb8e9e81f4ee5cb29e0ce369727a9543c090670 Mon Sep 17 00:00:00 2001 From: Dave Chen Date: Tue, 29 Mar 2022 14:52:14 +0800 Subject: [PATCH] `ginkgo.It` doesn't have a `timeout` arg anymore Signed-off-by: Dave Chen --- test/e2e/framework/framework.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 231927836c2..50d84d8cc33 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -643,8 +643,8 @@ func (kc *KubeConfig) FindCluster(name string) *KubeCluster { } // ConformanceIt is wrapper function for ginkgo It. Adds "[Conformance]" tag and makes static analysis easier. -func ConformanceIt(text string, body interface{}, timeout ...float64) bool { - return ginkgo.It(text+" [Conformance]", body, timeout...) +func ConformanceIt(text string, body interface{}) bool { + return ginkgo.It(text+" [Conformance]", body) } // PodStateVerification represents a verification of pod state.