Skip to content

Commit

Permalink
try tweaking test
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Dec 21, 2022
1 parent 5567d30 commit 53cfa64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/proxy/test/unit/http/util/prerequests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('http/util/prerequests', () => {

// https://github.com/cypress-io/cypress/issues/17853
it('eventually discards pre-requests that don\'t match requests', (done) => {
preRequests = new PreRequests(10, 500)
preRequests = new PreRequests(10, 200)
preRequests.addPending({ requestId: '1234', url: 'foo', method: 'GET' } as BrowserPreRequest)

// preRequests garbage collects pre-requests that never matched up with an incoming request after around
Expand All @@ -76,6 +76,6 @@ describe('http/util/prerequests', () => {
}

preRequests.get({ proxiedUrl: 'foo', method: 'GET' } as CypressIncomingRequest, () => {}, cb)
}, 1000)
}, 1200)
})
})

0 comments on commit 53cfa64

Please sign in to comment.