mirror of
https://github.com/go-task/task.git
synced 2026-06-15 20:01:40 +00:00
✅ test(failfast): use duration assertion instead of stdout to fix flake
This commit is contained in:
6
testdata/failfast/task/Taskfile.yaml
vendored
6
testdata/failfast/task/Taskfile.yaml
vendored
@@ -9,7 +9,7 @@ tasks:
|
||||
- dep4
|
||||
failfast: true
|
||||
|
||||
dep1: sleep 0.1 && echo 'dep1'
|
||||
dep2: sleep 0.2 && echo 'dep2'
|
||||
dep3: sleep 0.3 && echo 'dep3'
|
||||
dep1: sleep 5 && echo 'dep1'
|
||||
dep2: sleep 6 && echo 'dep2'
|
||||
dep3: sleep 7 && echo 'dep3'
|
||||
dep4: exit 1
|
||||
|
||||
@@ -1 +1 @@
|
||||
task: Failed to run task "default": task: Failed to run task "dep4": exit status 1
|
||||
task: Failed to run task "default": task: Failed to run task "dep4": exit status 1
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
Reference in New Issue
Block a user