Skip to content

Commit fe5f715

Browse files
author
Misha
committed
Update Makefile
increased min collection nodes to 6 increase min consensus nodes to 2
1 parent 1d6ab8f commit fe5f715

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

integration/benchnet2/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ DOCKER_REGISTRY := us-west1-docker.pkg.dev/dl-flow-benchnet-automation/benchnet
44
# default values that callers can override when calling target
55
ACCESS = 1
66
COLLECTION = 1
7-
VALID_COLLECTION := $(shell test $(COLLECTION) -ge 2; echo $$?)
8-
CONSENSUS = 1
7+
VALID_COLLECTION := $(shell test $(COLLECTION) -ge 6; echo $$?)
8+
VALID_CONSENSUS := $(shell test $(CONSENSUS) -ge 2; echo $$?)
99
EXECUTION = 2
1010
VALID_EXECUTION := $(shell test $(EXECUTION) -ge 2; echo $$?)
1111
VERIFICATION = 1
@@ -14,8 +14,10 @@ validate:
1414
ifeq ($(strip $(VALID_EXECUTION)), 1)
1515
# multiple execution nodes are required to prevent seals being generated in case of execution forking.
1616
$(error Number of Execution nodes should be no less than 2)
17+
else ifeq ($(strip $(VALID_CONSENSUS)), 1)
18+
$(error Number of Consensus nodes should be no less than 2)
1719
else ifeq ($(strip $(VALID_COLLECTION)), 1)
18-
$(error Number of Collection nodes should be no less than 2)
20+
$(error Number of Collection nodes should be no less than 6)
1921
else ifeq ($(strip $(NETWORK_ID)),)
2022
$(error NETWORK_ID cannot be empty)
2123
else ifeq ($(strip $(NAMESPACE)),)

0 commit comments

Comments
 (0)