33import io .qdrant .client .QdrantClient ;
44import io .qdrant .client .QdrantGrpcClient ;
55import io .qdrant .client .grpc .QdrantOuterClass ;
6- import org .junit .Test ;
6+ import org .junit .jupiter . api . Test ;
77import org .testcontainers .images .builder .Transferable ;
88
99import java .util .UUID ;
1212import static org .assertj .core .api .Assertions .assertThat ;
1313import static org .assertj .core .api .Assertions .assertThatThrownBy ;
1414
15- public class QdrantContainerTest {
15+ class QdrantContainerTest {
1616
1717 @ Test
18- public void shouldReturnVersion () throws ExecutionException , InterruptedException {
18+ void shouldReturnVersion () throws ExecutionException , InterruptedException {
1919 try (
2020 // qdrantContainer {
2121 QdrantContainer qdrant = new QdrantContainer ("qdrant/qdrant:v1.7.4" )
@@ -34,7 +34,7 @@ public void shouldReturnVersion() throws ExecutionException, InterruptedExceptio
3434 }
3535
3636 @ Test
37- public void shouldSetApiKey () throws ExecutionException , InterruptedException {
37+ void shouldSetApiKey () throws ExecutionException , InterruptedException {
3838 String apiKey = UUID .randomUUID ().toString ();
3939 try (QdrantContainer qdrant = new QdrantContainer ("qdrant/qdrant:v1.7.4" ).withApiKey (apiKey )) {
4040 qdrant .start ();
@@ -59,7 +59,7 @@ public void shouldSetApiKey() throws ExecutionException, InterruptedException {
5959 }
6060
6161 @ Test
62- public void shouldSetApiKeyUsingConfigFile () throws ExecutionException , InterruptedException {
62+ void shouldSetApiKeyUsingConfigFile () throws ExecutionException , InterruptedException {
6363 String apiKey = UUID .randomUUID ().toString ();
6464 String configFile = "service:\n api_key: " + apiKey ;
6565 try (
0 commit comments