From 3d0ff9ddd38b87eed024245d2b43cd35ae46b4d4 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Thu, 15 Aug 2024 19:06:13 -0600 Subject: [PATCH] increase time to capture logs Signed-off-by: Alfredo Gutierrez --- .github/workflows/smoke-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/smoke-test.yaml b/.github/workflows/smoke-test.yaml index 0169a3f3f..1861d7c50 100644 --- a/.github/workflows/smoke-test.yaml +++ b/.github/workflows/smoke-test.yaml @@ -74,10 +74,10 @@ jobs: - name: Run application in background, capture logs, and save PID in a variable run: | - ${{ env.GRADLE_EXEC }} run 2> output.log < /dev/null & + ${{ env.GRADLE_EXEC }} run 2> app.log < /dev/null & APP_PID=$! echo "Application started with PID $APP_PID" - sleep 30 + sleep 10 - name: Smoke Test run: ./server/src/test/resources/smoke-test.sh app.log