Skip to content

Commit daa1c7f

Browse files
committed
do not return 1 from timer stub
1 parent 1e06a01 commit daa1c7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/client-backpressure/client-backpressure.prose.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('Client Backpressure (Prose)', function () {
5353
expect(error).to.be.instanceof(MongoServerError);
5454
});
5555

56-
stub.returns(1);
56+
stub.returns(0.99);
5757

5858
const { duration: durationBackoff } = await measureDuration(async () => {
5959
const error = await collection.insertOne({ a: 1 }).catch(e => e);

0 commit comments

Comments
 (0)