Skip to content

Commit

Permalink
Clearing the killContext flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Jul 9, 2018
1 parent 034ed46 commit 40262c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/build_golang_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func TestExecuteBuildContextTimeout(t *testing.T) {
mockedOutput = "mocked output\n"
killContext = true
defer func() { execCommandContext = exec.CommandContext }()
defer func() { killContext = false }()
tmp := os.TempDir()
gaia.Cfg = new(gaia.Config)
gaia.Cfg.HomePath = tmp
Expand Down

0 comments on commit 40262c8

Please sign in to comment.