Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

test: disable mdns in exchange files #70

Merged
merged 2 commits into from
May 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions test/exchange-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,32 @@ const min = 60 * 1000
const timeout = isCi ? 8 * min : 5 * min

function createJs (cb) {
jsDf.spawn({ type: 'js', initOptions: { bits: 512 }, config: { Bootstrap: [] } }, cb)
jsDf.spawn({
type: 'js',
initOptions: { bits: 512 },
config: {
Bootstrap: [],
Discovery: {
MDNS: {
Enabled: false
}
}
}
}, cb)
}

function createGo (cb) {
goDf.spawn({ initOptions: { bits: 1024 }, config: { Bootstrap: [] } }, cb)
goDf.spawn({
initOptions: { bits: 1024 },
config: {
Bootstrap: [],
Discovery: {
MDNS: {
Enabled: false
}
}
}
}, cb)
}

describe('exchange files', () => {
Expand Down