File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ import (
2323const (
2424 defaultParrotImage = "kalverra/parrot"
2525 defaultParrotVersion = "v0.5.0"
26- // defaultParrotPort = "80"
27- defaultParrotPort = "5058" // DEBUG: checking if port chosen is wrong in CI
26+ defaultParrotPort = "80"
2827)
2928
3029// Parrot is a test environment component that wraps a Parrot server.
@@ -55,12 +54,13 @@ type ParrotAdapterResult struct {
5554func NewParrot (networks []string , opts ... EnvComponentOption ) * Parrot {
5655 p := & Parrot {
5756 EnvComponent : EnvComponent {
58- ContainerName : " parrot" ,
57+ ContainerName : fmt . Sprintf ( "%s-%s" , " parrot", uuid . NewString ()[ 0 : 3 ]) ,
5958 Networks : networks ,
6059 StartupTimeout : 10 * time .Second ,
6160 },
6261 l : log .Logger ,
6362 }
63+ p .SetDefaultHooks ()
6464 for _ , opt := range opts {
6565 opt (& p .EnvComponent )
6666 }
You can’t perform that action at this time.
0 commit comments