File tree 1 file changed +2
-1
lines changed
src/test/java/software/amazon/documentdb/jdbc
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 29
29
import software .amazon .documentdb .jdbc .common .test .DocumentDbTestEnvironment ;
30
30
import software .amazon .documentdb .jdbc .common .test .DocumentDbTestEnvironmentFactory ;
31
31
import software .amazon .documentdb .jdbc .common .utilities .SqlError ;
32
+ import software .amazon .documentdb .jdbc .metadata .DocumentDbMetadataServiceImpl ;
32
33
import software .amazon .documentdb .jdbc .metadata .DocumentDbSchema ;
33
34
import software .amazon .documentdb .jdbc .persist .DocumentDbSchemaReader ;
34
35
import software .amazon .documentdb .jdbc .persist .DocumentDbSchemaWriter ;
@@ -565,7 +566,7 @@ public void run() {
565
566
final Instant timeoutTime = Instant .now ().plus (timeToWaitSECS , ChronoUnit .SECONDS );
566
567
DocumentDbConnection connection = null ;
567
568
try {
568
- connection = new DocumentDbConnection (properties );
569
+ connection = new DocumentDbConnection (properties , new DocumentDbMetadataServiceImpl () );
569
570
while (timeoutTime .isAfter (Instant .now ())) {
570
571
connection .isValid (1 );
571
572
TimeUnit .MILLISECONDS .sleep (100 );
You can’t perform that action at this time.
0 commit comments