fix: reduce slow sharding tests to 2 cases

This commit is contained in:
Arseniy Klempner 2025-10-21 11:38:19 -07:00
parent 0fb6535a01
commit 192b47a56b
No known key found for this signature in database
GPG Key ID: 51653F18863BD24B
2 changed files with 2 additions and 2 deletions

View File

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

View File

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