From 1ddd013b194d7f551547bd2940a92ba3db72f95e Mon Sep 17 00:00:00 2001 From: Alexandr Morozov Date: Fri, 19 Sep 2014 21:50:23 +0400 Subject: [PATCH] Use prefix naming for restart tests Signed-off-by: Alexandr Morozov --- integration-cli/docker_cli_restart_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-cli/docker_cli_restart_test.go b/integration-cli/docker_cli_restart_test.go index 946a7c7ca74bf..7dc1819fe3b20 100644 --- a/integration-cli/docker_cli_restart_test.go +++ b/integration-cli/docker_cli_restart_test.go @@ -7,7 +7,7 @@ import ( "time" ) -func TestDockerRestartStoppedContainer(t *testing.T) { +func TestRestartStoppedContainer(t *testing.T) { runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "echo", "foobar") out, _, err := runCommandWithOutput(runCmd) errorOut(err, t, out) @@ -43,7 +43,7 @@ func TestDockerRestartStoppedContainer(t *testing.T) { logDone("restart - echo foobar for stopped container") } -func TestDockerRestartRunningContainer(t *testing.T) { +func TestRestartRunningContainer(t *testing.T) { runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "sh", "-c", "echo foobar && sleep 30 && echo 'should not print this'") out, _, err := runCommandWithOutput(runCmd) errorOut(err, t, out) @@ -80,7 +80,7 @@ func TestDockerRestartRunningContainer(t *testing.T) { } // Test that restarting a container with a volume does not create a new volume on restart. Regression test for #819. -func TestDockerRestartWithVolumes(t *testing.T) { +func TestRestartWithVolumes(t *testing.T) { runCmd := exec.Command(dockerBinary, "run", "-d", "-v", "/test", "busybox", "top") out, _, err := runCommandWithOutput(runCmd) errorOut(err, t, out)