Skip to content

Commit 77c6940

Browse files
committed
fixing test against nwaku nightly
1 parent 158f6ec commit 77c6940

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/tests/tests/ephemeral.node.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ describe("Waku Message Ephemeral field", function () {
9797
store: true,
9898
relay: true,
9999
contentTopic: contentTopics,
100-
clusterId: TestClusterId
100+
clusterId: TestClusterId,
101+
numShardsInNetwork: TestNetworkConfig.numShardsInCluster
101102
});
102103
await nwaku.ensureSubscriptionsAutosharding([
103104
TestContentTopic,

packages/tests/tests/filter/subscribe-static-sharding.node.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ const runTests = (strictCheckNodes: boolean): void => {
7070
filter: true,
7171
lightpush: true,
7272
relay: true,
73-
clusterId: TestClusterId,
74-
shard: [shardId]
73+
clusterId: staticNetworkConfig.clusterId,
74+
shard: [shardId],
75+
numShardsInNetwork: 0 // Running static sharding
7576
});
7677
await waku.dial(await nwaku2.getMultiaddrWithId());
7778
await waku.waitForPeers([Protocols.Filter, Protocols.LightPush]);

0 commit comments

Comments
 (0)