fix: nwaku master interop tests (#2625)

* fix REST endpoint

* disable px in peer cache test
This commit is contained in:
Sasha 2025-09-08 22:48:18 +02:00 committed by GitHub
parent 16253026c6
commit 8f09f5fa5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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