We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab9cd6c commit d0100f7Copy full SHA for d0100f7
test/tools/runner/config.ts
@@ -11,6 +11,7 @@ import {
11
HostAddress,
12
MongoClient,
13
type MongoClientOptions,
14
+ ObjectId,
15
type ServerApi,
16
TopologyType,
17
type WriteConcernSettings
@@ -448,7 +449,8 @@ export class TestConfiguration {
448
449
'CSOT spec tests legacy timeouts behave correctly for retryable operations operation succeeds after one socket timeout - aggregate on collection'
450
];
451
- setupLogging(options: MongoClientOptions, s: string = '') {
452
+ setupLogging(options: MongoClientOptions, s?: string) {
453
+ s ??= new ObjectId().toString();
454
this.logs = [];
455
const write = log => this.logs.push({ t: log.t, s, ...log });
456
options.mongodbLogPath = { write };
0 commit comments