Skip to content

Commit

Permalink
Some adjustments and refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fmacleal committed Jun 29, 2024
1 parent 50aadfb commit 226b1ab
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .github/images/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ else
MESSAGE="Rootstock Integration Tests Status: PASSED"
fi
echo -e "$MESSAGE"

echo "status=$STATUS" >> "$GITHUB_OUTPUT"
echo "message=$MESSAGE" >> "$GITHUB_OUTPUT"
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ jobs:
load: true
tags: ${{ env.TEST_TAG }}

# - name: Test the RIT Container Action
# id: test-container
# env:
# RSKJ_BRANCH: 'master'
# FEDERATOR_BRANCH: 'master'
# run: |
# docker run \
# --env RSKJ_BRANCH="${{ env.RSKJ_BRANCH }}" \
# --env FEDERATOR_BRANCH="${{ env.FEDERATOR_BRANCH }}" \
# --rm ${{ env.TEST_TAG }}
- name: Test the RIT Container Action
id: test-container
env:
RSKJ_BRANCH: 'master'
FEDERATOR_BRANCH: 'master'
run: |
docker run \
--env RSKJ_BRANCH="${{ env.RSKJ_BRANCH }}" \
--env FEDERATOR_BRANCH="${{ env.FEDERATOR_BRANCH }}" \
--rm ${{ env.TEST_TAG }}
- name: Build the RIT Action Container Image
uses: docker/build-push-action@v6
Expand Down Expand Up @@ -102,5 +102,5 @@ jobs:
- name: Print RIT Status and Message
id: output
run: |
echo "RIT Status = ${{ steps.test-action.outputs.status }}"
echo "RIT Message = ${{ steps.test-action.outputs.message }}"
echo "RIT Status = ${{ steps.test-rit-action.outputs.status }}"
echo "RIT Message = ${{ steps.test-rit-action.outputs.message }}"
2 changes: 1 addition & 1 deletion lib/rsk-utils-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var waitForSync = (rskClients) => {
});
};

var waitForBlock = (rskClient, blockNumber, waitTime = 500, maxAttempts = 800) => {
var waitForBlock = (rskClient, blockNumber, waitTime = 600, maxAttempts = 1000) => {
return new Promise((resolve, reject) => {
var clearPoll;
var attempts = 0;
Expand Down

0 comments on commit 226b1ab

Please sign in to comment.