mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
fix: reduce slow sharding tests to 2 cases
This commit is contained in:
parent
0fb6535a01
commit
192b47a56b
@ -86,7 +86,7 @@ describe("Autosharding: Running Nodes", function () {
|
||||
expect(await serviceNodes.messageCollector.waitForMessages(1)).to.eq(true);
|
||||
});
|
||||
|
||||
const numTest = 10;
|
||||
const numTest = 2;
|
||||
for (let i = 0; i < numTest; i++) {
|
||||
// Random ContentTopic
|
||||
const applicationName = `app${Math.floor(Math.random() * 100)}`; // Random application name app0 to app99
|
||||
|
||||
@ -82,7 +82,7 @@ describe("Static Sharding: Running Nodes", function () {
|
||||
expect(await serviceNodes.messageCollector.waitForMessages(1)).to.eq(true);
|
||||
});
|
||||
|
||||
const numTest = 10;
|
||||
const numTest = 2;
|
||||
for (let i = 0; i < numTest; i++) {
|
||||
// Random clusterId between 2 and 1000
|
||||
const clusterId = Math.floor(Math.random() * 999) + 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user