mirror of https://github.com/docker/docs.git
Use prefix naming for ps tests
Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
This commit is contained in:
parent
6e8c9e7bee
commit
00b82fcab6
|
@ -7,7 +7,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestListContainers(t *testing.T) {
|
func TestPsListContainers(t *testing.T) {
|
||||||
runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top")
|
runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top")
|
||||||
out, _, err := runCommandWithOutput(runCmd)
|
out, _, err := runCommandWithOutput(runCmd)
|
||||||
errorOut(err, t, out)
|
errorOut(err, t, out)
|
||||||
|
@ -201,7 +201,7 @@ func assertContainerList(out string, expected []string) bool {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestListContainersSize(t *testing.T) {
|
func TestPsListContainersSize(t *testing.T) {
|
||||||
name := "test_size"
|
name := "test_size"
|
||||||
runCmd := exec.Command(dockerBinary, "run", "--name", name, "busybox", "sh", "-c", "echo 1 > test")
|
runCmd := exec.Command(dockerBinary, "run", "--name", name, "busybox", "sh", "-c", "echo 1 > test")
|
||||||
out, _, err := runCommandWithOutput(runCmd)
|
out, _, err := runCommandWithOutput(runCmd)
|
||||||
|
|
Loading…
Reference in New Issue