Skip to content

Commit 1bf3f2c

Browse files
authored
conformance: do not log when we do not sleep (#3752)
This spams like 60 entries that we are doing no ork - minor change to skip.
1 parent 1ef70dd commit 1bf3f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conformance/utils/suite/suite.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ func (suite *ConformanceTestSuite) Run(t *testing.T, tests []ConformanceTest) er
449449

450450
// TODO(wstcliyu): need a better long term solution for test isolation
451451
// https://github.com/kubernetes-sigs/gateway-api/issues/3233
452-
if res != testSkipped && res != testNotSupported && sleepForTestIsolation {
452+
if res != testSkipped && res != testNotSupported && sleepForTestIsolation && suite.TimeoutConfig.TestIsolation > 0 {
453453
tlog.Logf(t, "Sleeping %v for test isolation", suite.TimeoutConfig.TestIsolation)
454454
time.Sleep(suite.TimeoutConfig.TestIsolation)
455455
}

0 commit comments

Comments
 (0)