Skip to content

Commit

Permalink
sleep 250
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Sep 23, 2023
1 parent b22e7be commit c7d8ab6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/bridge/file.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('bridge', () => {
})

std.log('waiting for message being bridged')
await utils.sleep(25)
await utils.sleep(250)

expect(files.loadFile(output).trim().split('\n')).to.deep.equal([message.toString(), message.toString()])

Expand Down
4 changes: 2 additions & 2 deletions tests/bridge/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function createBridgeTest(
})

std.log('waiting for message being bridged')
await utils.sleep(25)
await utils.sleep(250)

const result = files.loadFile(output).trim()
const expected = message.toString()
Expand Down Expand Up @@ -146,7 +146,7 @@ export function createBidirectionalBridgeTest(
})

std.log('waiting for message being bridged')
await utils.sleep(500)
await utils.sleep(250)

const result = files.loadFile(output).trim().split('\n')
const expected = [request.toString(), response.toString()]
Expand Down

0 comments on commit c7d8ab6

Please sign in to comment.