Skip to content

Commit

Permalink
chore: revert docker compose command changes (trustbloc#1436)
Browse files Browse the repository at this point in the history
Signed-off-by: Rajesh Kalaria <[email protected]>
Co-authored-by: Rajesh Kalaria <[email protected]>
  • Loading branch information
rajeshkalaria80 and Rajesh Kalaria authored Sep 26, 2023
1 parent 7901f1e commit 670f799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/logfields/fields_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions test/bdd/bddtests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, " ")))

Expand Down Expand Up @@ -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, " ")))

Expand Down

0 comments on commit 670f799

Please sign in to comment.