test: add missing sync_blocks to dynafed test; disable timing out travis test

This commit is contained in:
Andrew Poelstra 2021-04-01 17:50:03 +00:00
parent f76fe5e469
commit 24ca09cb84
2 changed files with 6 additions and 4 deletions

View file

@ -65,10 +65,11 @@ jobs:
script: script:
- set -o errexit; source ./ci/lint/06_script.sh - set -o errexit; source ./ci/lint/06_script.sh
- stage: test # Disabled due to new Travis restrictions; will be removed as part of 0.22 rebase
name: '32-bit + dash [GOAL: install] [CentOS 7] [gui]' # - stage: test
env: >- # name: '32-bit + dash [GOAL: install] [CentOS 7] [gui]'
FILE_ENV="./ci/test/00_setup_env_i686_centos.sh" # env: >-
# FILE_ENV="./ci/test/00_setup_env_i686_centos.sh"
- stage: test - stage: test
name: 'x86_64 Linux [GOAL: install] [xenial] [no wallet]' name: 'x86_64 Linux [GOAL: install] [xenial] [no wallet]'

View file

@ -500,6 +500,7 @@ class DynaFedTest(BitcoinTestFramework):
self.assert_accepted(pegin_tx) self.assert_accepted(pegin_tx)
self.assert_accepted(pegout_tx) self.assert_accepted(pegout_tx)
assert_equal(self.nodes[0].getsidechaininfo()["current_fedpegscripts"], ["51", "51"]) assert_equal(self.nodes[0].getsidechaininfo()["current_fedpegscripts"], ["51", "51"])
self.sync_blocks()
# Now have node 1 transition to new pak and fedpegscript # Now have node 1 transition to new pak and fedpegscript
pak_prop["fedpegscript"] = "52" pak_prop["fedpegscript"] = "52"