Skip to content

Commit

Permalink
cleanup produced utest/dockerfile artifacts on test conclusion (#1168)
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Keister <[email protected]>
  • Loading branch information
grokspawn authored Nov 15, 2023
1 parent 1554be3 commit 59723b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/lib/indexer/indexer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func TestBuildContext(t *testing.T) {
// prevent regression - cleanup should never be nil
t.Fatal("buildContext returned nil cleanup function")
}
defer actualCleanup()

if testCase.expectedOutDockerfile != nil && actualOutDockerfile != *testCase.expectedOutDockerfile {
t.Fatalf("comparing outDockerfile: expected %v actual %v",
Expand Down

0 comments on commit 59723b8

Please sign in to comment.