Skip to content

Commit

Permalink
Use quay redis image instead docker mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
ardaguclu authored and openshift-cherrypick-robot committed Oct 10, 2023
1 parent 5f40be4 commit 8b01395
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkg/helpers/newapp/newapptest/newapp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ func TestNewAppRunAll(t *testing.T) {
name: "emptyDir volumes",
config: &cmd.AppConfig{
ComponentInputs: cmd.ComponentInputs{
DockerImages: []string{"mysql"},
DockerImages: []string{"quay.io/centos7/redis-5-centos7"},
},

Resolvers: cmd.Resolvers{
Expand Down Expand Up @@ -692,14 +692,14 @@ func TestNewAppRunAll(t *testing.T) {
},

expected: map[string][]string{
"imageStream": {"mysql"},
"deployment": {"mysql"},
"service": {"mysql"},
"volumeMounts": {"mysql-volume-1"},
"imageStream": {"redis-5-centos7"},
"deployment": {"redis-5-centos7"},
"service": {"redis-5-centos7"},
"volumeMounts": {"redis-5-centos7-volume-1"},
},
expectedName: "mysql",
expectedName: "redis-5-centos7",
expectedVolumes: map[string]string{
"mysql-volume-1": "EmptyDir",
"redis-5-centos7-volume-1": "EmptyDir",
},
expectedErr: nil,
},
Expand Down

0 comments on commit 8b01395

Please sign in to comment.