@@ -15,14 +15,14 @@ import (
1515 "github.com/smartcontractkit/chainlink-testing-framework/lib/k8s/environment"
1616 helm_parrot "github.com/smartcontractkit/chainlink-testing-framework/lib/k8s/pkg/helm/parrot"
1717 "github.com/smartcontractkit/chainlink-testing-framework/lib/logging"
18- "github.com/smartcontractkit/chainlink-testing-framework/lib/mirror"
1918 "github.com/smartcontractkit/chainlink-testing-framework/lib/utils/testcontext"
2019 "github.com/smartcontractkit/chainlink-testing-framework/parrot"
2120)
2221
2322const (
2423 defaultParrotImage = "kalverra/parrot"
2524 defaultParrotVersion = "v0.5.0"
25+ defaultParrotPort = "80"
2626)
2727
2828// Parrot is a test environment component that wraps a Parrot server.
@@ -123,19 +123,19 @@ func (p *Parrot) StartContainer() error {
123123}
124124
125125func (p * Parrot ) getContainerRequest () (tc.ContainerRequest , error ) {
126- pImage := mirror .AddMirrorToImageIfSet ("parrot" )
127- if pImage == "" || pImage == "parrot" {
128- pImage = defaultParrotImage
129- }
126+ // pImage := mirror.AddMirrorToImageIfSet("parrot")
127+ // if pImage == "" || pImage == "parrot" {
128+ pImage : = defaultParrotImage // DEBUG: Checking if image difference is the problem
129+ // }
130130 pImage = fmt .Sprintf ("%s:%s" , pImage , defaultParrotVersion )
131131
132132 return tc.ContainerRequest {
133133 Name : p .ContainerName ,
134134 Image : pImage ,
135- ExposedPorts : []string {"80/tcp" },
135+ ExposedPorts : []string {NatPortFormat ( defaultParrotPort ) },
136136 Networks : p .Networks ,
137137 Env : map [string ]string {
138- "PARROT_PORT" : "80" ,
138+ "PARROT_PORT" : defaultParrotPort ,
139139 "PARROT_LOG_LEVEL" : "trace" ,
140140 "PARROT_HOST" : "0.0.0.0" ,
141141 },
0 commit comments