fixing test against nwaku nightly

This commit is contained in:
fryorcraken 2025-07-21 15:40:05 +10:00
parent 158f6ecf98
commit 77c694095d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 5 additions and 3 deletions

View File

@ -97,7 +97,8 @@ describe("Waku Message Ephemeral field", function () {
store: true, store: true,
relay: true, relay: true,
contentTopic: contentTopics, contentTopic: contentTopics,
clusterId: TestClusterId clusterId: TestClusterId,
numShardsInNetwork: TestNetworkConfig.numShardsInCluster
}); });
await nwaku.ensureSubscriptionsAutosharding([ await nwaku.ensureSubscriptionsAutosharding([
TestContentTopic, TestContentTopic,

View File

@ -70,8 +70,9 @@ const runTests = (strictCheckNodes: boolean): void => {
filter: true, filter: true,
lightpush: true, lightpush: true,
relay: true, relay: true,
clusterId: TestClusterId, clusterId: staticNetworkConfig.clusterId,
shard: [shardId] shard: [shardId],
numShardsInNetwork: 0 // Running static sharding
}); });
await waku.dial(await nwaku2.getMultiaddrWithId()); await waku.dial(await nwaku2.getMultiaddrWithId());
await waku.waitForPeers([Protocols.Filter, Protocols.LightPush]); await waku.waitForPeers([Protocols.Filter, Protocols.LightPush]);