diff --git a/internal/logfields/fields_test.go b/internal/logfields/fields_test.go index 14869f675..c87054878 100644 --- a/internal/logfields/fields_test.go +++ b/internal/logfields/fields_test.go @@ -32,7 +32,7 @@ func TestStandardFields(t *testing.T) { jsonResolution := "jsonResolution" command := "echo 'hello world'" concurrencyRequests := 3 - dockerComposeCmd := "docker compose up" + dockerComposeCmd := "docker-compose up" event := &mockObject{ Field1: "event1", Field2: 123, diff --git a/test/bdd/bddtests_test.go b/test/bdd/bddtests_test.go index fd3ec3d6a..b6cc5e175 100644 --- a/test/bdd/bddtests_test.go +++ b/test/bdd/bddtests_test.go @@ -94,7 +94,7 @@ func beforeSuiteHook() { return } - dockerComposeUp := []string{"docker", "compose", "-f", composeFilePath, "up", "--force-recreate", "-d"} + dockerComposeUp := []string{"docker-compose", "-f", composeFilePath, "up", "--force-recreate", "-d"} logger.Info("Running ", logfields.WithDockerComposeCmd(strings.Join(dockerComposeUp, " "))) @@ -124,7 +124,7 @@ func afterSuiteHook() { return } - dockerComposeDown := []string{"docker", "compose", "-f", composeFilePath, "down"} + dockerComposeDown := []string{"docker-compose", "-f", composeFilePath, "down"} logger.Info("Running ", logfields.WithDockerComposeCmd(strings.Join(dockerComposeDown, " ")))