Browse code

Add logDone logs where it's missing

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>

Alexandr Morozov authored on 2014/08/28 14:25:57
Showing 5 changed files
... ...
@@ -109,6 +109,8 @@ func TestCommitTTY(t *testing.T) {
109 109
 	if _, err := runCommand(cmd); err != nil {
110 110
 		t.Fatal(err)
111 111
 	}
112
+
113
+	logDone("commit - commit tty")
112 114
 }
113 115
 
114 116
 func TestCommitWithHostBindMount(t *testing.T) {
... ...
@@ -88,4 +88,6 @@ func TestDiffEnsureOnlyKmsgAndPtmx(t *testing.T) {
88 88
 			t.Errorf("'%s' is shown in the diff but shouldn't", line)
89 89
 		}
90 90
 	}
91
+
92
+	logDone("diff - ensure that only kmsg and ptmx in diff")
91 93
 }
... ...
@@ -40,6 +40,8 @@ func TestBuildHistory(t *testing.T) {
40 40
 	}
41 41
 
42 42
 	deleteImages("testbuildhistory")
43
+
44
+	logDone("history - build history")
43 45
 }
44 46
 
45 47
 func TestHistoryExistentImage(t *testing.T) {
... ...
@@ -53,6 +53,8 @@ func TestPingUnlinkedContainers(t *testing.T) {
53 53
 	} else if exitCode != 1 {
54 54
 		errorOut(err, t, fmt.Sprintf("run ping failed with errors: %v", err))
55 55
 	}
56
+
57
+	logDone("links - ping unlinked container")
56 58
 }
57 59
 
58 60
 func TestPingLinkedContainers(t *testing.T) {
... ...
@@ -65,6 +67,8 @@ func TestPingLinkedContainers(t *testing.T) {
65 65
 	cmd(t, "kill", idA)
66 66
 	cmd(t, "kill", idB)
67 67
 	deleteAllContainers()
68
+
69
+	logDone("links - ping linked container")
68 70
 }
69 71
 
70 72
 func TestIpTablesRulesWhenLinkAndUnlink(t *testing.T) {
... ...
@@ -1722,6 +1722,8 @@ func TestBindMounts(t *testing.T) {
1722 1722
 	if content != expected {
1723 1723
 		t.Fatalf("Output should be %q, actual out: %q", expected, content)
1724 1724
 	}
1725
+
1726
+	logDone("run - bind mounts")
1725 1727
 }
1726 1728
 
1727 1729
 func TestHostsLinkedContainerUpdate(t *testing.T) {