diff --git a/packages/tests/tests/dns-peer-discovery.spec.ts b/packages/tests/tests/dns-peer-discovery.spec.ts index 066cde0a3b..14139dcba8 100644 --- a/packages/tests/tests/dns-peer-discovery.spec.ts +++ b/packages/tests/tests/dns-peer-discovery.spec.ts @@ -33,7 +33,7 @@ describe("DNS Discovery: Compliance Test", function () { } as unknown as Libp2pComponents; return new PeerDiscoveryDns(components, { - enrUrls: [enrTree["TWN_SANDBOX"]], + enrUrls: [enrTree["SANDBOX"]], wantedNodeCapabilityCount: { filter: 1 } @@ -66,7 +66,7 @@ describe("DNS Node Discovery [live data]", function () { const waku = await createLightNode({ libp2p: { peerDiscovery: [ - wakuDnsDiscovery([enrTree["TWN_SANDBOX"]], nodeRequirements) + wakuDnsDiscovery([enrTree["SANDBOX"]], nodeRequirements) ] } }); @@ -93,7 +93,7 @@ describe("DNS Node Discovery [live data]", function () { // Google's dns server address. Needs to be set explicitly to run in CI const dnsNodeDiscovery = await DnsNodeDiscovery.dnsOverHttp(); - const peers = await dnsNodeDiscovery.getPeers([enrTree["TWN_SANDBOX"]], { + const peers = await dnsNodeDiscovery.getPeers([enrTree["SANDBOX"]], { relay: maxQuantity, store: maxQuantity, filter: maxQuantity, @@ -120,7 +120,7 @@ describe("DNS Node Discovery [live data]", function () { const waku = await createLightNode({ libp2p: { peerDiscovery: [ - wakuDnsDiscovery([enrTree["TWN_SANDBOX"], enrTree["TWN_TEST"]], { + wakuDnsDiscovery([enrTree["SANDBOX"], enrTree["TEST"]], { filter: nodesToConnect }) ] diff --git a/packages/tests/tests/waku.node.optional.spec.ts b/packages/tests/tests/waku.node.optional.spec.ts index 40a22fe0d1..fb81951c12 100644 --- a/packages/tests/tests/waku.node.optional.spec.ts +++ b/packages/tests/tests/waku.node.optional.spec.ts @@ -37,7 +37,7 @@ describe("Use static and several ENR trees for bootstrap", function () { peerDiscovery: [ bootstrap({ list: [multiAddrWithId.toString()] }), wakuDnsDiscovery( - [enrTree["TWN_SANDBOX"], enrTree["TWN_TEST"]], + [enrTree["SANDBOX"], enrTree["TEST"]], NODE_REQUIREMENTS ) ]