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:
Andrew Hsu
2019-03-08 14:43:42 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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