Skip to content

Commit

Permalink
fix: CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhedey committed Feb 14, 2025
1 parent f64cbdf commit cffdc46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,21 @@ jobs:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build and run node in the background
- name: Pre-build node
# We pre-build the node so that running it is fast in the below job, which means
# we can use the wait 2 minutes trick to wait for it to boot up so that we can
# move on to executing the API tests
run: ./gradlew :core:assemble
- name: Run node in the background
# We run the node in the background so we can run the CLI tests against it
env:
# This is to skip keygen step
RADIXDLT_NODE_KEY: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY=
run: |
echo "db.historical_substate_values.enable=true" >> core/default.config
./gradlew :core:run --info &
- name: Wait for 2 minutes
# This should be enough time for the node to boot up, as we have built it already
run: sleep 2m
- name: Install mesh-cli
run: curl -sSfL https://raw.githubusercontent.com/coinbase/mesh-cli/master/scripts/install.sh | sh -s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ public void protocol_update_process_updates_status_summary() throws ApiException
.get()
.getNewValue()
.getSubstateData();
assertEquals(ProtocolConfig.CUTTLEFISH_PART2_PROTOCOL_VERSION_NAME, latestStatus.getProtocolVersion());
assertEquals(
ProtocolConfig.CUTTLEFISH_PART2_PROTOCOL_VERSION_NAME, latestStatus.getProtocolVersion());
assertEquals(ProtocolUpdateStatusType.COMPLETE, latestStatus.getUpdateStatus().getType());
}
}
Expand Down

0 comments on commit cffdc46

Please sign in to comment.