Skip to content

Commit

Permalink
Fix a compile error in a test file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Jordan committed Jan 30, 2023
1 parent 9a61559 commit e7998c8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import software.amazon.documentdb.jdbc.common.test.DocumentDbTestEnvironment;
import software.amazon.documentdb.jdbc.common.test.DocumentDbTestEnvironmentFactory;
import software.amazon.documentdb.jdbc.common.utilities.SqlError;
import software.amazon.documentdb.jdbc.metadata.DocumentDbMetadataServiceImpl;
import software.amazon.documentdb.jdbc.metadata.DocumentDbSchema;
import software.amazon.documentdb.jdbc.persist.DocumentDbSchemaReader;
import software.amazon.documentdb.jdbc.persist.DocumentDbSchemaWriter;
Expand Down Expand Up @@ -565,7 +566,7 @@ public void run() {
final Instant timeoutTime = Instant.now().plus(timeToWaitSECS, ChronoUnit.SECONDS);
DocumentDbConnection connection = null;
try {
connection = new DocumentDbConnection(properties);
connection = new DocumentDbConnection(properties, new DocumentDbMetadataServiceImpl());
while (timeoutTime.isAfter(Instant.now())) {
connection.isValid(1);
TimeUnit.MILLISECONDS.sleep(100);
Expand Down

0 comments on commit e7998c8

Please sign in to comment.