Skip to content

Commit a76a606

Browse files
authored
fix: use SkipNow instead of Skip to prevent log line (#2433)
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
1 parent 022d619 commit a76a606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/runner/runner.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func (r *runner) run(ctx context.Context, m mainstart, nsOptions v1alpha2.Namesp
138138
}()
139139
// skip check
140140
if test.Test.Spec.Skip != nil && *test.Test.Spec.Skip {
141-
t.Skip()
141+
t.SkipNow()
142142
return
143143
}
144144
// setup context
@@ -148,7 +148,7 @@ func (r *runner) run(ctx context.Context, m mainstart, nsOptions v1alpha2.Namesp
148148
}
149149
// fail fast check
150150
if tc.FailFast() && tc.Failed() > 0 {
151-
t.Skip()
151+
t.SkipNow()
152152
return
153153
}
154154
// setup cleaner

0 commit comments

Comments
 (0)