Skip to content

Conversation

stIncMale
Copy link
Member

@stIncMale stIncMale requested a review from katcharov February 9, 2023 22:57
.build());
client.getDatabase(KEY_VAULT_NAMESPACE.getDatabaseName()).drop();
db = client.getDatabase(AbstractClientSideEncryptionAutoDataKeysTest.class.getSimpleName());
db = client.getDatabase("test");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this should substring the first n characters of the test name instead? (I assume we use the original convention to match up databases with tests.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no convention for test namespaces. Renamed to autoDataKeysTest, which may be better than an abrupt cut-off that potentially tears a word apart.

@stIncMale stIncMale requested a review from katcharov February 10, 2023 15:03
Copy link
Collaborator

@katcharov katcharov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@stIncMale stIncMale merged commit a96faf6 into mongodb:master Feb 10, 2023
@stIncMale stIncMale deleted the JAVA-4679_fix_database_name_too_long_on_serverless branch February 10, 2023 17:40
@stIncMale stIncMale self-assigned this Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants