File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/test/java/software/amazon/documentdb/jdbc Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2929import software .amazon .documentdb .jdbc .common .test .DocumentDbTestEnvironment ;
3030import software .amazon .documentdb .jdbc .common .test .DocumentDbTestEnvironmentFactory ;
3131import software .amazon .documentdb .jdbc .common .utilities .SqlError ;
32+ import software .amazon .documentdb .jdbc .metadata .DocumentDbMetadataServiceImpl ;
3233import software .amazon .documentdb .jdbc .metadata .DocumentDbSchema ;
3334import software .amazon .documentdb .jdbc .persist .DocumentDbSchemaReader ;
3435import software .amazon .documentdb .jdbc .persist .DocumentDbSchemaWriter ;
@@ -565,7 +566,7 @@ public void run() {
565566 final Instant timeoutTime = Instant .now ().plus (timeToWaitSECS , ChronoUnit .SECONDS );
566567 DocumentDbConnection connection = null ;
567568 try {
568- connection = new DocumentDbConnection (properties );
569+ connection = new DocumentDbConnection (properties , new DocumentDbMetadataServiceImpl () );
569570 while (timeoutTime .isAfter (Instant .now ())) {
570571 connection .isValid (1 );
571572 TimeUnit .MILLISECONDS .sleep (100 );
You can’t perform that action at this time.
0 commit comments