mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-07 00:03:07 +00:00
fixing test against nwaku nightly
This commit is contained in:
parent
158f6ecf98
commit
77c694095d
@ -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,
|
||||||
|
|||||||
@ -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]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user