We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a274f commit fa9bd72Copy full SHA for fa9bd72
testctrl/svc/orch/executor_test.go
@@ -128,7 +128,7 @@ func TestKubeExecutorProvision(t *testing.T) {
128
}()
129
130
ctx, cancel := context.WithCancel(context.TODO())
131
- if tc.ctxTimeout != 0 {
+ if tc.ctxTimeout > 0 {
132
ctx, _ = context.WithTimeout(ctx, tc.ctxTimeout)
133
}
134
defer cancel()
@@ -229,7 +229,7 @@ func TestKubeExecutorMonitor(t *testing.T) {
229
230
231
232
233
234
235
0 commit comments