Skip to content

Commit 508e66c

Browse files
committed
DEBUG: try different port
1 parent e29bfa4 commit 508e66c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lib/docker/test_env/parrot.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ 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"
1819
"github.com/smartcontractkit/chainlink-testing-framework/lib/utils/testcontext"
1920
"github.com/smartcontractkit/chainlink-testing-framework/parrot"
2021
)
2122

2223
const (
2324
defaultParrotImage = "kalverra/parrot"
2425
defaultParrotVersion = "v0.5.0"
25-
defaultParrotPort = "80"
26+
// defaultParrotPort = "80"
27+
defaultParrotPort = "5058" // DEBUG: checking if port chosen is wrong in CI
2628
)
2729

2830
// Parrot is a test environment component that wraps a Parrot server.
@@ -123,10 +125,10 @@ func (p *Parrot) StartContainer() error {
123125
}
124126

125127
func (p *Parrot) getContainerRequest() (tc.ContainerRequest, error) {
126-
// pImage := mirror.AddMirrorToImageIfSet("parrot")
127-
// if pImage == "" || pImage == "parrot" {
128-
pImage := defaultParrotImage // DEBUG: Checking if image difference is the problem
129-
// }
128+
pImage := mirror.AddMirrorToImageIfSet("parrot")
129+
if pImage == "" || pImage == "parrot" {
130+
pImage = defaultParrotImage
131+
}
130132
pImage = fmt.Sprintf("%s:%s", pImage, defaultParrotVersion)
131133

132134
return tc.ContainerRequest{

0 commit comments

Comments
 (0)