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 56230f4d37
testutil: no more "Creating a new daemon at"
Instead of logging on the "happy path", add more details when
we fail to create a daemon. Now that we base the path of the
daemon on the test-name, it should still be easy to find.

Before:

    make TEST_FILTER=TestSwarmNetworkCreateIssue27866 test-integration
    ...
    === RUN   TestDockerSwarmSuite
    === RUN   TestDockerSwarmSuite/TestSwarmNetworkCreateIssue27866
    --- PASS: TestDockerSwarmSuite (7.47s)
        --- PASS: TestDockerSwarmSuite/TestSwarmNetworkCreateIssue27866 (7.47s)
            docker_cli_swarm_test.go:1499: Creating a new daemon at: "/go/src/github.com/docker/docker/bundles/test-integration/TestDockerSwarmSuite/TestSwarmNetworkCreateIssue27866"

After:

    make TEST_FILTER=TestSwarmNetworkCreateIssue27866 test-integration
    ...
    === RUN   TestDockerSwarmSuite
    === RUN   TestDockerSwarmSuite/TestSwarmNetworkCreateIssue27866
    --- PASS: TestDockerSwarmSuite (8.67s)
        --- PASS: TestDockerSwarmSuite/TestSwarmNetworkCreateIssue27866 (8.67s)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-21 12:51:27 +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: no more "Creating a new daemon at" 2019-10-21 12:51:27 +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 Export the LogT type and use it in the options 2019-10-16 16:27:37 -04: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