The `testUnexpectedAdminDatabaseInGlobalCatalog` function in `check_metadata_consistency.js` uses direct config server connections instead of the retryable session that is already set up in the test file.
For consistency with the rest of the test file and to ensure resilience against config server stepdowns, these operations should use the retryable session that is already defined at the beginning of the test and used throughout the test file.