Skip to content

Commit

Permalink
plz: add deterministic order of env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
yorugac committed Jul 19, 2024
1 parent 20f0d5f commit 72efa47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/testrun/plz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,10 @@ func Test_NewPLZTestRun(t *testing.T) {
for _, testCase := range testCases {
testCase := testCase
t.Run(testCase.name, func(t *testing.T) {
t.Parallel()
// t.Parallel()
got := NewPLZTestRun(testCase.plz, testCase.cloudData, testCase.ingestUrl)
fmt.Println("got", got.Spec.Runner.Env)
fmt.Println("expected", testCase.expected.Spec.Runner.Env)
if diff := deep.Equal(got, testCase.expected); diff != nil {
t.Errorf("NewPLZTestRun returned unexpected data, diff: %s", diff)
}
Expand Down

0 comments on commit 72efa47

Please sign in to comment.