Merge pull request #171 from thaJeztah/18.09_backport_fix_build_session_test
[18.09 backport] Fix TestBuildWithSession, TestBuildSquashParent using wrong daemon during test Upstream-commit: c97602ef9903fd18e65b341a7359287e684cde84 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user