Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
it works. cleanup outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor O'Hara committed Jul 26, 2023
1 parent 26e3f5e commit 76edd3d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions gm-tester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,11 @@ while [[ $RETRY_COUNT -lt $MAX_RETRIES ]]; do

# Compare the result with the expected string or null string
if jq -e '.result' <<< "$RESULT" > /dev/null; then
echo "Success! The result is now different from the error"
echo "got result:"
echo "Rollup has produced block #3:"
echo $RESULT
echo "but we expected this:"
echo $EXPECTED_RESULT
if [ -z "$RESULT" ]; then
echo "Result is null. not good"
else
echo "result is NOT NULL"
fi
exit 0
break
fi
echo "EXPECTED " $EXPECTED_RESULT
echo "GOT " $RESULT

# Increment the retry count
((RETRY_COUNT++))
Expand Down

0 comments on commit 76edd3d

Please sign in to comment.