Skip to content

Commit e7998c8

Browse files
author
Norman Jordan
committed
Fix a compile error in a test file.
1 parent 9a61559 commit e7998c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/software/amazon/documentdb/jdbc/DocumentDbConnectionTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import software.amazon.documentdb.jdbc.common.test.DocumentDbTestEnvironment;
3030
import software.amazon.documentdb.jdbc.common.test.DocumentDbTestEnvironmentFactory;
3131
import software.amazon.documentdb.jdbc.common.utilities.SqlError;
32+
import software.amazon.documentdb.jdbc.metadata.DocumentDbMetadataServiceImpl;
3233
import software.amazon.documentdb.jdbc.metadata.DocumentDbSchema;
3334
import software.amazon.documentdb.jdbc.persist.DocumentDbSchemaReader;
3435
import 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);

0 commit comments

Comments
 (0)