Commit bfa5591
refactor(tests): enhance tearDownDockerTestEnvironment to support zookeeper profile for Kafka versions < 4.0.0
This update modifies the `tearDownDockerTestEnvironment` function to conditionally include the zookeeper profile in Docker commands when the Kafka version is less than 4.0.0. This ensures proper shutdown of zookeeper containers, improving the reliability of the test environment teardown process.
Signed-off-by: Edoardo Comar <ecomar@uk.ibm.com>1 parent 6cba260 commit bfa5591
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
287 | 293 | | |
288 | 294 | | |
289 | 295 | | |
290 | 296 | | |
291 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
292 | 302 | | |
293 | 303 | | |
294 | 304 | | |
| |||
0 commit comments