File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/test/java/org/testcontainers/milvus Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ description = "Testcontainers :: Milvus"
3
3
dependencies {
4
4
api project(' :testcontainers' )
5
5
6
+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
7
+
8
+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
6
9
testImplementation ' org.assertj:assertj-core:3.27.4'
7
10
testImplementation ' io.milvus:milvus-sdk-java:2.6.3'
8
11
}
12
+
13
+ test {
14
+ useJUnitPlatform()
15
+ }
Original file line number Diff line number Diff line change 2
2
3
3
import io .milvus .client .MilvusServiceClient ;
4
4
import io .milvus .param .ConnectParam ;
5
- import org .junit .Test ;
5
+ import org .junit .jupiter . api . Test ;
6
6
import org .testcontainers .containers .GenericContainer ;
7
7
import org .testcontainers .containers .Network ;
8
8
import org .testcontainers .containers .wait .strategy .Wait ;
9
9
10
10
import static org .assertj .core .api .Assertions .assertThat ;
11
11
12
- public class MilvusContainerTest {
12
+ class MilvusContainerTest {
13
13
14
14
@ Test
15
- public void withDefaultConfig () {
15
+ void withDefaultConfig () {
16
16
try (
17
17
// milvusContainer {
18
18
MilvusContainer milvus = new MilvusContainer ("milvusdb/milvus:v2.3.9" )
@@ -26,7 +26,7 @@ public void withDefaultConfig() {
26
26
}
27
27
28
28
@ Test
29
- public void withExternalEtcd () {
29
+ void withExternalEtcd () {
30
30
try (
31
31
// externalEtcd {
32
32
Network network = Network .newNetwork ();
You can’t perform that action at this time.
0 commit comments