Revert "tests: remove duplicate healthchecks, bump grafana and dex"

This reverts commit df9d8e9d25.
This commit is contained in:
Jens Langhammer
2022-09-04 17:58:30 +02:00
parent df9d8e9d25
commit dd383d763f
6 changed files with 21 additions and 3 deletions

View File

@ -6,6 +6,7 @@ from unittest.case import skipUnless
from docker import DockerClient, from_env
from docker.models.containers import Container
from docker.types import Healthcheck
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as ec
@ -44,6 +45,11 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
detach=True,
network_mode="host",
auto_remove=True,
healthcheck=Healthcheck(
test=["CMD", "wget", "--spider", "http://localhost:9009/health"],
interval=5 * 100 * 1000000,
start_period=1 * 100 * 1000000,
),
environment={
"OIDC_CLIENT_ID": self.client_id,
"OIDC_CLIENT_SECRET": self.client_secret,