Commit b6f541f
committed
fix: eliminate testcontainers deprecation warnings
Migrate from DockerCompose to DockerContainer with explicit wait strategy:
- Use LogMessageWaitStrategy instead of deprecated @wait_container_is_ready
- Configure pytest to filter testcontainers internal deprecation warnings
- Remove docker-compose.yml (no longer needed)
The testcontainers library still uses deprecated decorators internally
(in get_exposed_port and other methods), so we filter those warnings
while using the recommended wait strategies in our code.1 parent 293f99f commit b6f541f
File tree
3 files changed
+33
-30
lines changed- libs/redis
- tests
3 files changed
+33
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 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 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
23 | 34 | | |
24 | | - | |
| 35 | + | |
| 36 | + | |
25 | 37 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
29 | 42 | | |
30 | | - | |
| 43 | + | |
31 | 44 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 45 | + | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
| |||
This file was deleted.
0 commit comments