Skip to content

Commit

Permalink
fix kill mock relay
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed Oct 22, 2024
1 parent bb05b58 commit bfad2ba
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/integration-tests-ui-critical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,13 @@ jobs:
-timezone US/Pacific
script: |
adb install -r -d "${{env.APK_NAME}}"
./sentry-mock-relay-0.0.1/bin/sentry-mock-relay > /dev/null & MOCK_RELAY_PID=$!
./sentry-mock-relay-0.0.1/bin/sentry-mock-relay > /dev/null &
set +e
maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs"
MAESTRO_EXIT_CODE=$?
curl --fail http://localhost:8961/assertReceivedAtLeastOneCrashReport
MOCK_RELAY_EXIT_CODE=$?
kill $MOCK_RELAY_PID
exit $(($MAESTRO_EXIT_CODE || $MOCK_RELAY_EXIT_CODE))
pkill -f 'sentry-mock-relay' || true
- name: Upload Maestro test results
if: failure()
Expand Down

0 comments on commit bfad2ba

Please sign in to comment.