Merge pull request #38416 from thaJeztah/fix_build_session_test

Fix TestBuildWithSession, TestBuildSquashParent using wrong daemon during test
This commit is contained in:
Yong Tang 2019-01-06 14:29:15 -08:00 committed by GitHub
commit 545d00e752
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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