@@ -8,16 +8,17 @@ import (
88 "github.com/google/uuid"
99 "github.com/rs/zerolog"
1010 "github.com/rs/zerolog/log"
11+ tc "github.com/testcontainers/testcontainers-go"
12+ tcwait "github.com/testcontainers/testcontainers-go/wait"
13+
1114 "github.com/smartcontractkit/chainlink-testing-framework/lib/docker"
1215 "github.com/smartcontractkit/chainlink-testing-framework/lib/logging"
1316 "github.com/smartcontractkit/chainlink-testing-framework/lib/mirror"
1417 "github.com/smartcontractkit/chainlink-testing-framework/lib/utils/testcontext"
1518 "github.com/smartcontractkit/chainlink-testing-framework/parrot"
16- tc "github.com/testcontainers/testcontainers-go"
17- tcwait "github.com/testcontainers/testcontainers-go/wait"
1819)
1920
20- const defaultParrotImage = "parrot:latest "
21+ const defaultParrotImage = "kalverra/ parrot:v0.4.5 "
2122
2223// Parrot is a test environment component that wraps a Parrot server.
2324type Parrot struct {
@@ -37,7 +38,7 @@ func NewParrot(networks []string, opts ...EnvComponentOption) *Parrot {
3738 EnvComponent : EnvComponent {
3839 ContainerName : fmt .Sprintf ("%s-%s" , "parrot" , uuid .NewString ()[0 :8 ]),
3940 Networks : networks ,
40- StartupTimeout : 1 * time .Minute ,
41+ StartupTimeout : 10 * time .Second ,
4142 },
4243 l : log .Logger ,
4344 }
@@ -97,7 +98,7 @@ func (p *Parrot) StartContainer() error {
9798 Logger : l ,
9899 })
99100 if err != nil {
100- return fmt .Errorf ("cannot start MockServer container: %w" , err )
101+ return fmt .Errorf ("cannot start Parrot container: %w" , err )
101102 }
102103 p .Container = c
103104 endpoint , err := GetEndpoint (testcontext .Get (p .t ), c , "http" )
0 commit comments