Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Sep 11, 2024
1 parent 9e79c70 commit 9b01a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/interceptors/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ test('Should throw when on dual-stack disabled (4)', async t => {

const promise = client.request({
...requestOptions,
origin: 'http://localhost'
origin: 'http://localhost:1234'
})

await t.rejects(promise, 'ECONNREFUSED')
Expand Down Expand Up @@ -577,7 +577,7 @@ test('Should we handle TTL (4)', async t => {
t.equal(response.statusCode, 200)
t.equal(await response.body.text(), 'hello world!')

await sleep(200)
await sleep(500)

const response2 = await client.request({
...requestOptions,
Expand Down

0 comments on commit 9b01a09

Please sign in to comment.