From e32d4f009542c7f96e341180ad191b939174ba6b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 23 Nov 2021 00:32:24 +0100 Subject: [PATCH] tests/e2e: don't run e2e tests randomly for now Signed-off-by: Jens Langhammer --- authentik/root/test_runner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/authentik/root/test_runner.py b/authentik/root/test_runner.py index 459bb4b64..3033cb90a 100644 --- a/authentik/root/test_runner.py +++ b/authentik/root/test_runner.py @@ -40,5 +40,8 @@ class PytestTestRunner: # pragma: no cover if self.keepdb: argv.append("--reuse-db") + if any("tests/e2e" in label for label in test_labels): + argv.append("-pno:randomly") + argv.extend(test_labels) return pytest.main(argv)