@@ -27,7 +27,7 @@ import (
27
27
28
28
func TestStartStop (t * testing.T ) {
29
29
c := NewParallelE2eCLI (t , binDir )
30
- const projectName = "e2e-start-stop"
30
+ const projectName = "e2e-start-stop-no-dependencies "
31
31
32
32
getProjectRegx := func (status string ) string {
33
33
// match output with random spaces like:
@@ -43,7 +43,7 @@ func TestStartStop(t *testing.T) {
43
43
44
44
t .Run ("Up a project" , func (t * testing.T ) {
45
45
res := c .RunDockerComposeCmd ("-f" , "./fixtures/start-stop/compose.yaml" , "--project-name" , projectName , "up" , "-d" )
46
- assert .Assert (t , strings .Contains (res .Combined (), "Container e2e-start-stop-simple-1 Started" ), res .Combined ())
46
+ assert .Assert (t , strings .Contains (res .Combined (), "Container e2e-start-stop-no-dependencies- simple-1 Started" ), res .Combined ())
47
47
48
48
res = c .RunDockerComposeCmd ("ls" , "--all" )
49
49
testify .Regexp (t , getProjectRegx ("running" ), res .Stdout ())
@@ -57,13 +57,13 @@ func TestStartStop(t *testing.T) {
57
57
c .RunDockerComposeCmd ("-f" , "./fixtures/start-stop/compose.yaml" , "--project-name" , projectName , "stop" )
58
58
59
59
res := c .RunDockerComposeCmd ("ls" )
60
- assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop" ), res .Combined ())
60
+ assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop-no-dependencies " ), res .Combined ())
61
61
62
62
res = c .RunDockerComposeCmd ("ls" , "--all" )
63
63
testify .Regexp (t , getProjectRegx ("exited" ), res .Stdout ())
64
64
65
65
res = c .RunDockerComposeCmd ("--project-name" , projectName , "ps" )
66
- assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop-words-1" ), res .Combined ())
66
+ assert .Assert (t , ! strings .Contains (res .Combined (), "e2e-start-stop-no-dependencies- words-1" ), res .Combined ())
67
67
68
68
res = c .RunDockerComposeCmd ("--project-name" , projectName , "ps" , "--all" )
69
69
testify .Regexp (t , getServiceRegx ("simple" , "exited" ), res .Stdout ())
0 commit comments