Skip to content

Commit c0e96ee

Browse files
committed
chore: await close
1 parent 50964d2 commit c0e96ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/benchmarks/driver_bench/src/driver.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class DriverTester {
166166
try {
167167
await utilClient.db(DB_NAME).createCollection(COLLECTION_NAME);
168168
} finally {
169-
utilClient.close();
169+
await utilClient.close();
170170
}
171171
}
172172

@@ -188,7 +188,7 @@ export class DriverTester {
188188
Array.from({ length }, (_, _id) => ({ ...(addId ? { _id } : {}), ...document })) as any[]
189189
);
190190
} finally {
191-
utilClient.close();
191+
await utilClient.close();
192192
}
193193
}
194194

0 commit comments

Comments
 (0)