Merge pull request #7772 from LK4D4/log_dones

Add logDone logs where it's missing
This commit is contained in:
Victor Vieux 2014-08-27 22:46:54 -07:00
commit a26fc6cae8
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 { if _, err := runCommand(cmd); err != nil {
t.Fatal(err) t.Fatal(err)
} }
logDone("commit - commit tty")
} }
func TestCommitWithHostBindMount(t *testing.T) { 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) 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") deleteImages("testbuildhistory")
logDone("history - build history")
} }
func TestHistoryExistentImage(t *testing.T) { func TestHistoryExistentImage(t *testing.T) {

View File

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

View File

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