moby--moby/testutil
Sebastiaan van Stijn 293c1a27a2
testutil/daemon: remove redundant d.cmd.Wait()
`daemon.StartWithLogFile()` already creates a goroutine that
calls `d.cmd.Waits()` and sends its return to the channel, `d.Wait`.

This code called `d.cmd.Wait()` one more time, and returns the
error, which may produce an error _because_ it's called a second
time, and potentially cause an incorrect test-result.

(thanks to Kir Kolyshkin for spotting this)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-11 00:38:08 +02:00
..
daemon testutil/daemon: remove redundant d.cmd.Wait() 2019-10-11 00:38:08 +02:00
environment testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
fakecontext Remove some uses of testutil.HelperT 2019-09-23 14:06:27 +02:00
fakegit Remove some uses of testutil.HelperT 2019-09-23 14:06:27 +02:00
fakestorage Remove some uses of testutil.HelperT 2019-09-23 14:06:27 +02:00
fixtures testutil: make testing packages public 2019-09-11 07:47:23 -05:00
registry testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
request testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
doc.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helper.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helpers.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
stringutils.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
stringutils_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00