Skip to content

Commit

Permalink
increase mdns wait time and enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Oct 20, 2023
1 parent 776412b commit 278a314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/discovery/mdns.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ERR_DUPLICATE, MdnsDiscovery } from '../../src/discovery/mdns.js'
import NoiseSecretStream from '@hyperswarm/secret-stream'

// Time in ms to wait for mdns messages to propogate
const MDNS_WAIT_TIME = 5000
const MDNS_WAIT_TIME = 10000

test('mdns - discovery and sharing of data', (t) => {
t.plan(2)
Expand Down Expand Up @@ -115,7 +115,7 @@ test(`mdns - discovery of 30 peers with random time instantiation`, async (t) =>
await testMultiple(t, { period: 2000, nPeers: 30 })
})

test.skip(`mdns - discovery of 30 peers instantiated at the same time`, async (t) => {
test(`mdns - discovery of 30 peers instantiated at the same time`, async (t) => {
await testMultiple(t, { period: 0, nPeers: 30 })
})

Expand Down

0 comments on commit 278a314

Please sign in to comment.