Skip to content

Commit 7dd6053

Browse files
committed
chore: switch to id
1 parent 46f2e0d commit 7dd6053

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: test/tools/runner/config.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,10 @@ export class TestConfiguration {
452452
'CSOT spec tests legacy timeouts behave correctly for retryable operations operation succeeds after one socket timeout - aggregate on collection'
453453
];
454454

455-
setupLogging(options: MongoClientOptions, s?: string) {
456-
s ??= new ObjectId().toString();
455+
setupLogging(options: MongoClientOptions, id?: string) {
456+
id ??= new ObjectId().toString();
457457
this.logs = [];
458-
const write = log => this.logs.push({ t: log.t, s, ...log });
458+
const write = log => this.logs.push({ t: log.t, id, ...log });
459459
options.mongodbLogPath = { write };
460460
options.mongodbLogComponentSeverities = { default: 'trace' };
461461
options.mongodbLogMaxDocumentLength = 300;

0 commit comments

Comments
 (0)