Commit 6011e9d
Fix Kafka integration tests to support both WORKSPACE and bzlmod modes
Updated kafka_broker_integration_test.py and kafka_mesh_integration_test.py to
detect kafka_bin_dir in both modes instead of hardcoding bzlmod path.
Implementation:
- Try bzlmod path first: external/_main~envoy_dependencies_extension~kafka_server_binary/bin
- Fall back to WORKSPACE path: external/kafka_server_binary/bin
- Use os.path.isdir() to check which path exists
This fixes Kafka test timeouts in WORKSPACE mode while preserving bzlmod
compatibility.
Co-authored-by: phlax <454682+phlax@users.noreply.github.com>1 parent 5db23a1 commit 6011e9d
File tree
3 files changed
+7
-1
lines changed- configs
- contrib/kafka/filters/network/test
- broker/integration_test
- mesh/integration_test
3 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
| 319 | + | |
| 320 | + | |
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
| 398 | + | |
| 399 | + | |
397 | 400 | | |
398 | 401 | | |
399 | 402 | | |
| |||
0 commit comments