Skip to content

Commit

Permalink
Merge pull request #1201 from getlipa/fix/use-bash-for-monitor-tests
Browse files Browse the repository at this point in the history
Stop using tee and just cat test.json
  • Loading branch information
danielgranhao authored Sep 26, 2024
2 parents 6b37f3a + 7089824 commit af8cac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/monitoring-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
with:
path: .3l_local_test
key: monitor-local-test-cache
- name: Cat test results
run: cat test.json
- name: Check test result
run: |
if [ ${{ steps.monitortest.outcome }} == "failure" ]; then
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ testregisternode:

.PHONY: monitortest
monitortest:
set -o pipefail
cargo +nightly test --test monitoring_test -- --test-threads=1 --ignored -Z unstable-options --report-time --format json | tee test.json
cargo +nightly test --test monitoring_test -- --test-threads=1 --ignored -Z unstable-options --report-time --format json > test.json

.PHONY: testall
testall: test integrationtests
Expand Down

0 comments on commit af8cac6

Please sign in to comment.