1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Add logDone logs where it's missing

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
Upstream-commit: 3c984a6d1578947c5adfe13993cb28d88a674bbf
Component: engine
This commit is contained in:
Alexandr Morozov
2014-08-28 09:25:57 +04:00
parent e0cd0203dd
commit def10d2ed4
5 changed files with 12 additions and 0 deletions

View File

@@ -109,6 +109,8 @@ func TestCommitTTY(t *testing.T) {
if _, err := runCommand(cmd); err != nil {
t.Fatal(err)
}
logDone("commit - commit tty")
}
func TestCommitWithHostBindMount(t *testing.T) {

View File

@@ -88,4 +88,6 @@ func TestDiffEnsureOnlyKmsgAndPtmx(t *testing.T) {
t.Errorf("'%s' is shown in the diff but shouldn't", line)
}
}
logDone("diff - ensure that only kmsg and ptmx in diff")
}

View File

@@ -40,6 +40,8 @@ func TestBuildHistory(t *testing.T) {
}
deleteImages("testbuildhistory")
logDone("history - build history")
}
func TestHistoryExistentImage(t *testing.T) {

View File

@@ -53,6 +53,8 @@ func TestPingUnlinkedContainers(t *testing.T) {
} else if exitCode != 1 {
errorOut(err, t, fmt.Sprintf("run ping failed with errors: %v", err))
}
logDone("links - ping unlinked container")
}
func TestPingLinkedContainers(t *testing.T) {
@@ -65,6 +67,8 @@ func TestPingLinkedContainers(t *testing.T) {
cmd(t, "kill", idA)
cmd(t, "kill", idB)
deleteAllContainers()
logDone("links - ping linked container")
}
func TestIpTablesRulesWhenLinkAndUnlink(t *testing.T) {

View File

@@ -1722,6 +1722,8 @@ func TestBindMounts(t *testing.T) {
if content != expected {
t.Fatalf("Output should be %q, actual out: %q", expected, content)
}
logDone("run - bind mounts")
}
func TestHostsLinkedContainerUpdate(t *testing.T) {