From 91d17fec7090c70f6c1c01cf53b74c1f1fd0ffdf Mon Sep 17 00:00:00 2001 From: Vijai Kumar S Date: Mon, 1 Jul 2024 15:46:33 +0530 Subject: [PATCH] Fix some mistakes in integration tests --- .github/workflows/build.yml | 13 +++++-------- submodules/zlib | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 33c6fa99e..15cbf0cdc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -604,6 +604,11 @@ jobs: LATEST_TOTAL_SECONDS=$(echo $LATEST_TIME | awk -F: '{ print ($1 * 60) + $2 }') echo "Latest SDK execution time in seconds: ${LATEST_TOTAL_SECONDS}" + LATEST_MUSTPASS=$(grep "MUSTPASS files passed" test_suites/latest_sdk_test.log | awk '{print $1}') + LATEST_MUSTFAIL=$(grep "MUSTFAIL files failed" test_suites/latest_sdk_test.log | awk '{print $1}') + echo "MUSTPASS: ${LATEST_MUSTPASS}" + echo "MUSTFAIL: ${LATEST_MUSTFAIL}" + integration-tests-last-two-releases: runs-on: ubuntu-20.04 @@ -790,14 +795,6 @@ jobs: echo "LATEST_MUSTPASS=${LATEST_MUSTPASS}" >> $GITHUB_ENV echo "LATEST_MUSTFAIL=${LATEST_MUSTFAIL}" >> $GITHUB_ENV - # Fail the job if counts are inconsistent - if [ "$LATEST_MUSTPASS" != "$LATEST_MUSTFAIL" ]; then - echo "MUSTPASS or MUSTFAIL counts are inconsistent" - exit 1 - else - echo "MUSTPASS and MUSTFAIL counts are consistent" - fi - integration-test-last-commit-and-last-release: runs-on: ubuntu-20.04 needs: [set-integration-tests-status] diff --git a/submodules/zlib b/submodules/zlib index 51b7f2abd..09155eaa2 160000 --- a/submodules/zlib +++ b/submodules/zlib @@ -1 +1 @@ -Subproject commit 51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf +Subproject commit 09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851