Skip to content

Commit de0138e

Browse files
author
Misha
committed
Update Makefile
increase # of collection nodes to min of 2
1 parent 268715a commit de0138e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration/benchnet2/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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 1; echo $$?)
7+
VALID_COLLECTION := $(shell test $(COLLECTION) -ge 2; echo $$?)
88
CONSENSUS = 1
99
EXECUTION = 2
1010
VALID_EXECUTION := $(shell test $(EXECUTION) -ge 2; echo $$?)
@@ -14,6 +14,8 @@ 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+
ifeq ($(strip $(VALID_COLLECTION)), 1)
18+
$(error Number of Collection nodes should be no less than 2)
1719
else ifeq ($(strip $(NETWORK_ID)),)
1820
$(error NETWORK_ID cannot be empty)
1921
else ifeq ($(strip $(NAMESPACE)),)

0 commit comments

Comments
 (0)