From f7dece3a1d2b0e4315b300fbaaecc9d2388aacbd Mon Sep 17 00:00:00 2001 From: Arthur Noel Date: Mon, 16 Oct 2023 20:16:29 +0100 Subject: [PATCH] move flaky checks to separate test target --- .pyproject | 2 +- Makefile | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.pyproject b/.pyproject index f024181..ab73e49 160000 --- a/.pyproject +++ b/.pyproject @@ -1 +1 @@ -Subproject commit f0241817e1191cc74cb575635d29abf99bf93650 +Subproject commit ab73e49099791f130a152fb0861fda9283da3081 diff --git a/Makefile b/Makefile index 018393e..faaedb8 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,16 @@ include .pyproject/Makefile $(eval $(call TEST,packages)) -.test-unit .test-functional: export DISTINFO_RAISE_ON_HIT=0 +test-unit test-functional: export DISTINFO_RAISE_ON_HIT=0 NUM_PROCESSES ?= logical -.test-acceptance .test-packages: override ARGS += --numprocesses=$(NUM_PROCESSES) +test-acceptance test-packages: override ARGS += --numprocesses=$(NUM_PROCESSES) FLAKE_RUNS ?= 30 -FLAKE_MAX_MINUTES ?= 5 - -test-acceptance: override ARGS += --flake-finder --flake-runs=$(FLAKE_RUNS) --flake-max-minutes=$(FLAKE_MAX_MINUTES) -x +test-flaky: override ARGS += \ + --flake-finder \ + --flake-runs=$(FLAKE_RUNS) \ + -x +test-flaky: test-acceptance