Skip to content

Commit 54278d9

Browse files
committed
use appName directly
1 parent 7cc8d7e commit 54278d9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/tools/unified-spec-runner/entities.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,8 @@ export class UnifiedMongoClient extends MongoClient {
265265
};
266266
}
267267

268-
const appNameNonce = new Date().getTime().toString();
269268
if (description.uriOptions && description.uriOptions.appName) {
270-
options.appName = description.uriOptions.appName + '-' + appNameNonce;
271-
} else {
272-
options.appName = `unified-spec-runner-${appNameNonce}`;
269+
options.appName = description.uriOptions.appName;
273270
}
274271
console.log(`Client options appName: ${options.appName}`); // TODO: remove before merging
275272

0 commit comments

Comments
 (0)