mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix TestBuildWithSession, TestBuildSquashParent using wrong daemon during 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>
This commit is contained in:
parent
2cb26cfe9c
commit
9a3911ced8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue