Skip to content

Commit 86a648b

Browse files
committed
e2e tests display Compose version used to run the test
currently the version displayed is the one installed and not the one use for the tests Signed-off-by: Guillaume Lours <[email protected]>
1 parent 27a3241 commit 86a648b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,10 @@ install: binary
6161

6262
.PHONY: e2e-compose
6363
e2e-compose: ## Run end to end local tests in plugin mode. Set E2E_TEST=TestName to run a single test
64-
docker compose version
6564
go test $(TEST_FLAGS) $(TEST_COVERAGE_FLAGS) -count=1 ./pkg/e2e
6665

6766
.PHONY: e2e-compose-standalone
6867
e2e-compose-standalone: ## Run End to end local tests in standalone mode. Set E2E_TEST=TestName to run a single test
69-
docker-compose version
7068
go test $(TEST_FLAGS) -v -count=1 -parallel=1 --tags=standalone ./pkg/e2e
7169

7270
.PHONY: build-and-e2e-compose

pkg/e2e/framework.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func NewCLI(t testing.TB, opts ...CLIOption) *CLI {
103103
for _, opt := range opts {
104104
opt(c)
105105
}
106-
106+
t.Log(c.RunDockerComposeCmdNoCheck(t, "version").Combined())
107107
return c
108108
}
109109

0 commit comments

Comments
 (0)