mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-07 00:03:07 +00:00
fix: nwaku master interop tests (#2625)
* fix REST endpoint * disable px in peer cache test
This commit is contained in:
parent
16253026c6
commit
8f09f5fa5a
@ -323,7 +323,7 @@ export class ServiceNode {
|
|||||||
this.checkProcess();
|
this.checkProcess();
|
||||||
|
|
||||||
return this.restCall<boolean>(
|
return this.restCall<boolean>(
|
||||||
"/relay/v1/subscriptions",
|
"/relay/v1/auto/subscriptions",
|
||||||
"POST",
|
"POST",
|
||||||
contentTopics,
|
contentTopics,
|
||||||
async (response) => response.status === 200
|
async (response) => response.status === 200
|
||||||
|
|||||||
@ -85,7 +85,7 @@ describe("Peer Cache Discovery", function () {
|
|||||||
waku = await createLightNode({
|
waku = await createLightNode({
|
||||||
networkConfig: DefaultTestNetworkConfig,
|
networkConfig: DefaultTestNetworkConfig,
|
||||||
discovery: {
|
discovery: {
|
||||||
peerExchange: true,
|
peerExchange: false,
|
||||||
peerCache: true
|
peerCache: true
|
||||||
},
|
},
|
||||||
peerCache: mockCache
|
peerCache: mockCache
|
||||||
@ -116,7 +116,7 @@ describe("Peer Cache Discovery", function () {
|
|||||||
networkConfig: DefaultTestNetworkConfig,
|
networkConfig: DefaultTestNetworkConfig,
|
||||||
bootstrapPeers: [(await nwaku2.getMultiaddrWithId()).toString()],
|
bootstrapPeers: [(await nwaku2.getMultiaddrWithId()).toString()],
|
||||||
discovery: {
|
discovery: {
|
||||||
peerExchange: true,
|
peerExchange: false,
|
||||||
peerCache: true
|
peerCache: true
|
||||||
},
|
},
|
||||||
peerCache: mockCache
|
peerCache: mockCache
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user