1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/testutil/daemon
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
..
config.go testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
container.go testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
daemon.go testutil/daemon: remove redundant d.cmd.Wait() 2019-10-11 00:38:08 +02:00
daemon_unix.go testutil/daemon: prefix all logs with daemon-id 2019-10-11 00:37:49 +02:00
daemon_windows.go testutil/daemon: prefix all logs with daemon-id 2019-10-11 00:37:49 +02:00
doc.go
node.go testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
ops.go testutil: update WithInitsignature to be a daemon.Option 2019-09-30 17:38:26 +02:00
plugin.go testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
secret.go testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
service.go testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00
swarm.go testutil: use testing.TB instead of assert.TestingT 2019-09-23 14:23:01 +02:00