Skip to content

Commit af6b290

Browse files
committed
test: await fail point
1 parent 9b3d7e7 commit af6b290

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/manual/mongodb_oidc_azure.prose.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ describe('OIDC Auth Spec Prose Tests', function () {
102102
const commandFailedEvents: CommandFailedEvent[] = [];
103103

104104
const commandStartedListener = event => {
105+
console.log(event);
105106
if (event.commandName === 'find') {
106107
commandStartedEvents.push(event);
107108
}
@@ -153,10 +154,10 @@ describe('OIDC Auth Spec Prose Tests', function () {
153154
client = new MongoClient(process.env.MONGODB_URI);
154155
await client.db('test').collection('test').findOne();
155156
addListeners();
156-
setupFailPoint();
157+
await setupFailPoint();
157158
});
158159

159-
afterEach(async function () {
160+
after(async function () {
160161
await removeFailPoint();
161162
await client.close();
162163
});

0 commit comments

Comments
 (0)