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"
33dependencies {
44 api project(' :testcontainers' )
55
6+ testRuntimeOnly ' org.junit.platform:junit-platform-launcher:1.11.0'
7+
8+ testImplementation ' org.junit.jupiter:junit-jupiter:5.13.4'
69 testImplementation ' org.assertj:assertj-core:3.27.4'
710 testImplementation ' io.milvus:milvus-sdk-java:2.6.3'
811}
12+
13+ test {
14+ useJUnitPlatform()
15+ }
Original file line number Diff line number Diff line change 22
33import io .milvus .client .MilvusServiceClient ;
44import io .milvus .param .ConnectParam ;
5- import org .junit .Test ;
5+ import org .junit .jupiter . api . Test ;
66import org .testcontainers .containers .GenericContainer ;
77import org .testcontainers .containers .Network ;
88import org .testcontainers .containers .wait .strategy .Wait ;
99
1010import static org .assertj .core .api .Assertions .assertThat ;
1111
12- public class MilvusContainerTest {
12+ class MilvusContainerTest {
1313
1414 @ Test
15- public void withDefaultConfig () {
15+ void withDefaultConfig () {
1616 try (
1717 // milvusContainer {
1818 MilvusContainer milvus = new MilvusContainer ("milvusdb/milvus:v2.3.9" )
@@ -26,7 +26,7 @@ public void withDefaultConfig() {
2626 }
2727
2828 @ Test
29- public void withExternalEtcd () {
29+ void withExternalEtcd () {
3030 try (
3131 // externalEtcd {
3232 Network network = Network .newNetwork ();
You can’t perform that action at this time.
0 commit comments