diff --git a/driver-sync/src/test/functional/com/mongodb/client/AbstractClientSideEncryptionAutoDataKeysTest.java b/driver-sync/src/test/functional/com/mongodb/client/AbstractClientSideEncryptionAutoDataKeysTest.java index a5781d2ef16..dd693ce7c9b 100644 --- a/driver-sync/src/test/functional/com/mongodb/client/AbstractClientSideEncryptionAutoDataKeysTest.java +++ b/driver-sync/src/test/functional/com/mongodb/client/AbstractClientSideEncryptionAutoDataKeysTest.java @@ -88,7 +88,7 @@ public void setUp() { 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(); }