Skip to content

Commit 4c1fa54

Browse files
authored
chore(NODE-6783): document keeping UTR loop and events as entities (#4565)
1 parent 83534ff commit 4c1fa54

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,10 @@ operations.set('listIndexNames', async ({ entities, operation }) => {
456456
return indexes.map(index => index.name);
457457
});
458458

459+
/**
460+
* This function was scheduled to be removed in NODE-6783, but we've decideded to keep it
461+
* as the removal is optional and has utility for testing and debugging.
462+
*/
459463
operations.set('loop', async ({ entities, operation, client, testConfig }) => {
460464
const controller = new AbortController();
461465
// We always want the process to exit on SIGINT last, so all other

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export interface ClientEntity {
150150
ignoreCommandMonitoringEvents?: string[];
151151
serverApi?: ServerApi;
152152
observeSensitiveCommands?: boolean;
153+
// Was optionally scheduled for removal in NODE-6783, but opted to keep it for potential future use.
153154
storeEventsAsEntities?: StoreEventsAsEntity[];
154155
}
155156
export interface DatabaseEntity {

0 commit comments

Comments
 (0)