We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a434d6e commit 7cdb6acCopy full SHA for 7cdb6ac
test/tools/unified-spec-runner/entities.ts
@@ -265,8 +265,12 @@ export class UnifiedMongoClient extends MongoClient {
265
};
266
}
267
268
- if (description.uriOptions && description.uriOptions.appName) {
269
- options.appName = description.uriOptions.appName;
+ // Test descriptions use `appName` and `appname` interchangeably
+ if (
270
+ description.uriOptions &&
271
+ (description.uriOptions.appName != null || description.uriOptions.appname != null)
272
+ ) {
273
+ options.appName = description.uriOptions.appName ?? description.uriOptions.appname;
274
} else {
275
const appNameNonce = new Date().getTime().toString();
276
options.appName = `unified-spec-runner-${appNameNonce}`;
0 commit comments