From db4b320690cdde7fd669230b90ff5a378ae538cc Mon Sep 17 00:00:00 2001 From: 8naama Date: Thu, 22 Aug 2024 14:36:10 +0300 Subject: [PATCH] fix e2e test --- .github/workflows/integrationTest.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integrationTest.yaml b/.github/workflows/integrationTest.yaml index 6cf7438..02c3b54 100644 --- a/.github/workflows/integrationTest.yaml +++ b/.github/workflows/integrationTest.yaml @@ -25,14 +25,8 @@ jobs: run: | PYTHONPATH=. python3 ./tests/IntegrationTests/test_shipping.py & echo $! > script_pid.txt - - name: Wait 30s - run: sleep 30 - - name: Kill api fetcher - run: | - kill -9 $(cat script_pid.txt) - rm script_pid.txt - - name: Wait 1m, to allow logs to get processed and indexed in logzio - run: sleep 60 + - name: Wait, to allow logs to get processed and indexed in logzio + run: sleep 120 - name: Check Logzio for logs env: LOGZIO_API_TOKEN: ${{ secrets.LOGZIO_API_TOKEN }}