Skip to content

Commit 192b47a

Browse files
committed
fix: reduce slow sharding tests to 2 cases
1 parent 0fb6535 commit 192b47a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/tests/tests/sharding/auto_sharding.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ describe("Autosharding: Running Nodes", function () {
8686
expect(await serviceNodes.messageCollector.waitForMessages(1)).to.eq(true);
8787
});
8888

89-
const numTest = 10;
89+
const numTest = 2;
9090
for (let i = 0; i < numTest; i++) {
9191
// Random ContentTopic
9292
const applicationName = `app${Math.floor(Math.random() * 100)}`; // Random application name app0 to app99

packages/tests/tests/sharding/static_sharding.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe("Static Sharding: Running Nodes", function () {
8282
expect(await serviceNodes.messageCollector.waitForMessages(1)).to.eq(true);
8383
});
8484

85-
const numTest = 10;
85+
const numTest = 2;
8686
for (let i = 0; i < numTest; i++) {
8787
// Random clusterId between 2 and 1000
8888
const clusterId = Math.floor(Math.random() * 999) + 2;

0 commit comments

Comments
 (0)