Skip to content

Commit c743217

Browse files
committed
test: two uncaught change stream test methods which leak sessions
1 parent ddfa41b commit c743217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/change_stream.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1992,11 +1992,11 @@ describe('Change Streams', function() {
19921992
});
19931993

19941994
// explicitly close the change stream after the write has begun
1995-
changeStream.close();
1995+
this.defer(changeStream.close());
19961996
});
19971997
});
19981998

1999-
write().catch(() => {});
1999+
this.defer(write().catch(() => {}));
20002000
}
20012001
});
20022002

0 commit comments

Comments
 (0)