Fix the "database name is too long" error that happens when running against Serverless
@@ -88,7 +88,7 @@ public abstract class AbstractClientSideEncryptionAutoDataKeysTest {
provider -> provider.name, provider -> provider.propertiesSupplier)))
.build());
client.getDatabase(KEY_VAULT_NAMESPACE.getDatabaseName()).drop();
- db = client.getDatabase(AbstractClientSideEncryptionAutoDataKeysTest.class.getSimpleName());
+ db = client.getDatabase("autoDataKeysTest");
db.drop();
}
