Skip to content

Commit a96faf6

Browse files
authored
Fix the "database name is too long" error that happens when running against Serverless (#1082)
JAVA-4679
1 parent 59585de commit a96faf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-sync/src/test/functional/com/mongodb/client/AbstractClientSideEncryptionAutoDataKeysTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void setUp() {
8888
provider -> provider.name, provider -> provider.propertiesSupplier)))
8989
.build());
9090
client.getDatabase(KEY_VAULT_NAMESPACE.getDatabaseName()).drop();
91-
db = client.getDatabase(AbstractClientSideEncryptionAutoDataKeysTest.class.getSimpleName());
91+
db = client.getDatabase("autoDataKeysTest");
9292
db.drop();
9393
}
9494

0 commit comments

Comments
 (0)