Skip to content

Commit

Permalink
Run "full" profile in docker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrvivian committed May 15, 2024
1 parent d3a7438 commit 4cc35a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/docker-network/tests/dockertestframework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ func NewDockerTestFramework(t *testing.T, opts ...options.Option[DockerTestFrame
}

func (d *DockerTestFramework) DockerComposeUp(detach ...bool) error {
cmd := exec.Command("docker", "compose", "up")
cmd := exec.Command("docker", "compose", "--profile", "full", "up")

if len(detach) > 0 && detach[0] {
cmd = exec.Command("docker", "compose", "up", "-d")
cmd = exec.Command("docker", "compose", "--profile", "full", "up", "-d")
}

cmd.Env = os.Environ()
Expand Down

0 comments on commit 4cc35a2

Please sign in to comment.