Skip to content

Commit

Permalink
test: fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
yohamta committed Feb 12, 2025
1 parent 80d3103 commit 5abeb8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/digraph/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func TestBuildEnv(t *testing.T) {
name: "ValidEnvWithSubstitutionAndEnv",
file: "valid_env_substitution_and_env.yaml",
expected: map[string]string{
"FOO": "BAR:BAZ:BAR:FOO",
"FOO": "BEE:BAZ:BOO:FOO",
},
},
}
Expand Down
5 changes: 3 additions & 2 deletions internal/testdata/digraph/valid_env_substitution_and_env.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
env:
- BAR: "`echo BAR`"
- FOO: "${BAR}:BAZ:${BAR}:`echo FOO`"
- BEE: "`echo BEE`"
- BOO: "`echo BOO`"
- FOO: "${BEE}:BAZ:${BOO}:`echo FOO`"

0 comments on commit 5abeb8d

Please sign in to comment.