Browse code

Merge pull request #40105 from thaJeztah/close_the_door_please

testutil: daemon.Info() close client after request

Sebastiaan van Stijn authored on 2019/10/22 03:33:13
Showing 1 changed files
... ...
@@ -721,6 +721,7 @@ func (d *Daemon) Info(t testing.TB) types.Info {
721 721
 	c := d.NewClientT(t)
722 722
 	info, err := c.Info(context.Background())
723 723
 	assert.NilError(t, err)
724
+	assert.NilError(t, c.Close())
724 725
 	return info
725 726
 }
726 727