From a5275b1df19987c658e0f4e94d9cd434da3a0049 Mon Sep 17 00:00:00 2001 From: Brendan O'Handley Date: Fri, 8 Mar 2024 05:03:37 -0600 Subject: [PATCH] wait for prometheus to be up in github workflow --- .github/workflows/e2e.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 53ed63fd..ce90de7f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -54,6 +54,13 @@ jobs: responseCode: 200 timeout: 20000 interval: 500 + - name: Wait for prometheus to start + uses: nev7n/wait_for_response@v1 + with: + url: 'http://localhost:9090/' + responseCode: 200 + timeout: 20000 + interval: 500 - name: Install Playwright Browsers run: yarn playwright install --with-deps - name: Run E2E tests