Commit 87332c1
fix(kafka): Use wait strategy instead of deprecated wait_for_logs (#903)
Related to
#874.
Since those containers first need to be started to know their exposed
ports, we cannot use `DockerContainer._wait_strategy`. We have to keep
checking logs manually in their own `start` methods.
Let me know if there is anything to change.
---------
Co-authored-by: Hugo-C <Hugo-C@users.noreply.github.com>
Co-authored-by: David Ankin <daveankin@gmail.com>1 parent 460b0d8 commit 87332c1
File tree
2 files changed
+7
-3
lines changed- modules/kafka
- testcontainers/kafka
- tests
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
73 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments