Skip to content

Commit

Permalink
Fix TestBuildWithSession, TestBuildSquashParent using wrong daemon du…
Browse files Browse the repository at this point in the history
…ring test

These tests were spinning up a new daemon, but after the daemon was spun up,
the default test-daemon was used by the client.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Dec 24, 2018
1 parent 2cb26cf commit 9a3911c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/build/build_session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestBuildWithSession(t *testing.T) {
d.StartWithBusybox(t)
defer d.Stop(t)

client := testEnv.APIClient()
client := d.NewClientT(t)

dockerfile := `
FROM busybox
Expand Down
2 changes: 1 addition & 1 deletion integration/build/build_squash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestBuildSquashParent(t *testing.T) {
d.StartWithBusybox(t)
defer d.Stop(t)

client := testEnv.APIClient()
client := d.NewClientT(t)

dockerfile := `
FROM busybox
Expand Down

0 comments on commit 9a3911c

Please sign in to comment.