1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #40105 from thaJeztah/close_the_door_please

testutil: daemon.Info() close client after request
This commit is contained in:
Sebastiaan van Stijn 2019-10-21 20:33:13 +02:00 committed by GitHub
commit 1455f7d88d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -721,6 +721,7 @@ func (d *Daemon) Info(t testing.TB) types.Info {
c := d.NewClientT(t)
info, err := c.Info(context.Background())
assert.NilError(t, err)
assert.NilError(t, c.Close())
return info
}