Skip to content

Commit

Permalink
test: ci migration testing (#733)
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
Co-Authored-By: Iliya Savov <[email protected]>
Co-Authored-By: Iliya Savov <[email protected]>
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-Authored-By: Logan Nguyen <[email protected]>
  • Loading branch information
5 people committed Jul 12, 2024
1 parent 3590d2c commit e8449cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/migration-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ on:

jobs:
check:
name: Migration testing (${{ inputs.preMigrationTestTags }}/${{ inputs.postMigrationTestTags }}) with initial N:${{ inputs.initialNetworkNodeTag }}, M:${{ inputs.initialMirrorNodeTag }}, R:${{ inputs.initialRelayTag }} and
name:
Migration testing (${{ inputs.preMigrationTestTags }}/${{ inputs.postMigrationTestTags }}) with initial N:${{ inputs.initialNetworkNodeTag }}, M:${{ inputs.initialMirrorNodeTag }}, R:${{ inputs.initialRelayTag }} and
target N:${{ inputs.targetNetworkNodeTag }}, M:${{ inputs.targetMirrorNodeTag }}, R:${{ inputs.targetRelayTag }}
runs-on: [self-hosted, Linux, large, ephemeral]
steps:
Expand Down
2 changes: 1 addition & 1 deletion scripts/freeze-network-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function main() {
'127.0.0.1:50211': '0.0.3',
}).setOperator(OPERATOR_ID_A, OPERATOR_KEY_A);

const validStart = new Timestamp(Math.round(Date.now() / 1000), 0); // timestamp now
const validStart = new Timestamp(Math.round((Date.now() + 5000) / 1000), 0); // timestamp now + 5 sec
const tx = new FreezeTransaction()
.setStartTimestamp(validStart)
.setFreezeType(new FreezeType(1)) // FreezeOnly
Expand Down

0 comments on commit e8449cc

Please sign in to comment.