Commit a4f70e3
chore(weaviate): use Run function
This commit migrates the weaviate module to use the new testcontainers.Run() API.
The main changes are:
- Use testcontainers.Run() instead of testcontainers.GenericContainer()
- Convert to moduleOpts pattern with functional options
- Use WithCmd, WithExposedPorts, WithEnv, WithWaitStrategy
- Multiple wait strategies for HTTP and gRPC ports
Tests: 7 tests, 78.6% coverage
Ref: #3174
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1c64a46 commit a4f70e3
1 file changed
+10
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
38 | | - | |
| 36 | + | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 44 | + | |
57 | 45 | | |
58 | | - | |
59 | | - | |
| 46 | + | |
| 47 | + | |
60 | 48 | | |
61 | 49 | | |
62 | 50 | | |
63 | | - | |
| 51 | + | |
64 | 52 | | |
65 | 53 | | |
66 | 54 | | |
| |||
0 commit comments