1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

ci: fix flaky TestForDeps tests (#1839)

This commit is contained in:
Paulo Bittencourt
2024-10-05 20:25:12 -04:00
committed by GitHub
parent 0fff404eb8
commit c5eea294aa

View File

@@ -2500,6 +2500,8 @@ func TestForDeps(t *testing.T) {
Stderr: &buff,
Silent: true,
Force: true,
// Force output of each dep to be grouped together to prevent interleaving
OutputStyle: ast.Output{Name: "group"},
}
require.NoError(t, e.Setup())
require.NoError(t, e.Run(context.Background(), &ast.Call{Task: test.name}))