Skip to content

Commit 9b63960

Browse files
committed
Fix flaky test
1 parent cdf36c5 commit 9b63960

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/v1/pipelineruns/pipelinerun-with-task-timeout-override.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ spec:
2121
script: |
2222
#!/bin/sh
2323
echo "- Pipeline task timeout: 60s (defined in pipeline spec)"
24-
echo "- TaskRunSpecs override: 20s (defined in pipelinerun spec)"
25-
echo "- Actual task duration: 10s (within 20s override timeout)"
24+
echo "- TaskRunSpecs override: 40s (defined in pipelinerun spec)"
25+
echo "- Actual task duration: 10s (within 40s override timeout)"
2626
---
2727
apiVersion: tekton.dev/v1
2828
kind: Pipeline
@@ -50,4 +50,4 @@ spec:
5050
name: taskrun-timeout-override
5151
taskRunSpecs:
5252
- pipelineTaskName: long-running-task
53-
timeout: "20s" # 20s timeout (can't actually test with a timeout lesser than 10s else the task fails)
53+
timeout: "40s" # 40s timeout (accounts for image pull time + 10s sleep)

0 commit comments

Comments
 (0)