Skip to content

Commit

Permalink
increased number of entries in reuse session id test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapaezbas committed May 27, 2024
1 parent 88fa4f7 commit 716fa12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ test('session id reuse does not stall', async function (t) {
const b = new Hypercore(path.join(os.tmpdir(), 'hyperbee-b'), a.key)
await b.ready()

const n = 500
const n = 3000

const s1 = a.replicate(true, { keepAlive: false })
const s2 = b.replicate(false, { keepAlive: false })
Expand All @@ -576,7 +576,7 @@ test('session id reuse does not stall', async function (t) {
const requests = Array(n).fill().map(async (e, i) => {
const buffer = b4a.alloc(2)
buffer.writeUInt16BE(i)
return await beeB.get(buffer)
return beeB.get(buffer)
})

await Promise.all(requests)
Expand Down

0 comments on commit 716fa12

Please sign in to comment.