Ver Fonte

Fix done messages and error message for ipc tests

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Alexander Morozov há 10 anos atrás
pai
commit
74ee405a27
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      integration-cli/docker_cli_run_test.go

+ 3 - 3
integration-cli/docker_cli_run_test.go

@@ -2520,11 +2520,11 @@ func TestRunModeIpcHost(t *testing.T) {
 
 
 	out2 = strings.Trim(out2, "\n")
 	out2 = strings.Trim(out2, "\n")
 	if hostIpc == out2 {
 	if hostIpc == out2 {
-		t.Fatalf("IPC should be different without --ipc=host %s != %s\n", hostIpc, out2)
+		t.Fatalf("IPC should be different without --ipc=host %s == %s\n", hostIpc, out2)
 	}
 	}
 	deleteAllContainers()
 	deleteAllContainers()
 
 
-	logDone("run - hostname and several network modes")
+	logDone("run - ipc host mode")
 }
 }
 
 
 func TestRunModeIpcContainer(t *testing.T) {
 func TestRunModeIpcContainer(t *testing.T) {
@@ -2562,7 +2562,7 @@ func TestRunModeIpcContainer(t *testing.T) {
 	}
 	}
 	deleteAllContainers()
 	deleteAllContainers()
 
 
-	logDone("run - hostname and several network modes")
+	logDone("run - ipc container mode")
 }
 }
 
 
 func TestContainerNetworkMode(t *testing.T) {
 func TestContainerNetworkMode(t *testing.T) {