Skip to content

Commit

Permalink
test(systest): add fail-fast for systests (#6163)
Browse files Browse the repository at this point in the history
## Motivation

systests appear to continue execution of all tests regardless if one of them failed.
  • Loading branch information
acud committed Jul 22, 2024
1 parent 03b9970 commit b85cbd5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions systest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ storage ?= standard=1Gi
node_selector ?=
namespace ?=
count ?= 1
failfast ?= true

configname ?= $(test_job_name)
smesher_config ?= parameters/fastnet/smesher.json
Expand All @@ -38,6 +39,10 @@ endif
command := tests -test.v -test.count=$(count) -test.timeout=0 -test.run=$(test_name) -clusters=$(clusters) \
-level=$(level) -configname=$(configname)

ifeq ($(failfast),true)
command := $(command) -test.failfast
endif

.PHONY: docker
docker:
@DOCKER_BUILDKIT=1 docker build \
Expand Down

0 comments on commit b85cbd5

Please sign in to comment.