Skip to content

Commit

Permalink
Merge pull request #682 from fluxcd/oci-int-stop-exit-code
Browse files Browse the repository at this point in the history
oci/tests/int: Set exit code 1 on tf destroy fail
  • Loading branch information
stefanprodan authored Nov 3, 2023
2 parents c787787 + d29d25f commit 9c506d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oci/tests/integration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ func TestMain(m *testing.M) {
defer func() {
if err := testEnv.Stop(ctx); err != nil {
log.Printf("Failed to stop environment: %v", err)
exitCode = 1
}

// Log the panic error before exit to surface the cause of panic.
Expand Down

0 comments on commit 9c506d6

Please sign in to comment.