Skip to content

Commit b64af7b

Browse files
committed
pass through timeoutMS arg to cursor.close
1 parent abc1cfd commit b64af7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ operations.set('close', async ({ entities, operation }) => {
209209
/* eslint-disable no-empty */
210210
try {
211211
const cursor = entities.getEntity('cursor', operation.object);
212-
await cursor.close();
212+
const timeoutMS = operation.arguments?.timeoutMS;
213+
await cursor.close(timeoutMS);
213214
return;
214215
} catch {}
215216

0 commit comments

Comments
 (0)