From 7bbf77b7a5aed2666292253e3cf0791863739e4e Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 14 Jul 2022 19:44:05 +0200 Subject: [PATCH] fix authelia autoconf example and debug fail before cleaning tests --- examples/authelia/autoconf.yml | 4 ++-- tests/Test.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/authelia/autoconf.yml b/examples/authelia/autoconf.yml index 073a907b3..6fdc15895 100644 --- a/examples/authelia/autoconf.yml +++ b/examples/authelia/autoconf.yml @@ -26,7 +26,7 @@ services: - bunkerweb.REVERSE_PROXY_HEADERS=Remote-User $$user;Remote-Groups $$groups;Remote-Name $$name;Remote-Email $$email - bunkerweb.REVERSE_PROXY_URL_999=/authelia - bunkerweb.REVERSE_PROXY_HOST_999=http://authelia:9091/api/verify - - bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL + - bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL $$scheme://$$http_host$$request_uri;Content-Length "" app2: image: tutum/hello-world @@ -45,7 +45,7 @@ services: - bunkerweb.REVERSE_PROXY_HEADERS=Remote-User $$user;Remote-Groups $$groups;Remote-Name $$name;Remote-Email $$email - bunkerweb.REVERSE_PROXY_URL_999=/authelia - bunkerweb.REVERSE_PROXY_HOST_999=http://authelia:9091/api/verify - - bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL + - bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL $$scheme://$$http_host$$request_uri;Content-Length "" # AUTHELIA authelia: diff --git a/tests/Test.py b/tests/Test.py index e723667f5..774038646 100644 --- a/tests/Test.py +++ b/tests/Test.py @@ -86,8 +86,8 @@ class Test(ABC) : return self._cleanup_test() log("TEST", "⚠️", "tests not ok, retrying in 1s ...") sleep(1) - self._cleanup_test() self._debug_fail() + self._cleanup_test() log("TEST", "❌", "failed (timeout = " + str(self.__timeout) + "s)") return False