Skip to content

Commit

Permalink
Add close procedures to Kafka test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Aug 21, 2023
1 parent 675f188 commit d070670
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion testing/cli-e2etest/environment/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,15 @@ func (m *internalManager) Close(t *testing.T) {
}

if m.pokeshopEnabled {
pokeshopDockerComposeFile := m.dockerComposePokeshopFilePath
if m.pokeshopStreamEnabled {
pokeshopDockerComposeFile = m.dockerComposePokeshopWithStreamFilepath
}

args = []string{
"compose",
"--file", m.dockerComposeNoApiFilePath, // choose docker compose relative to the chosen environment
"--file", m.dockerComposePokeshopFilePath, // choose docker compose relative to the chosen environment
"--file", pokeshopDockerComposeFile, // choose docker compose relative to the chosen environment
"--project-name", m.dockerProjectName, // choose isolated project name
"rm",
"--force", // bypass removal question
Expand Down

0 comments on commit d070670

Please sign in to comment.