test: Bump timeout to run tests in travis thread sanitizer
This commit is contained in:
parent
cb52cee29d
commit
fa05d52af4
3 changed files with 4 additions and 5 deletions
|
@ -99,7 +99,6 @@ jobs:
|
||||||
DOCKER_NAME_TAG=ubuntu:16.04
|
DOCKER_NAME_TAG=ubuntu:16.04
|
||||||
PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
|
PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
|
||||||
NO_DEPENDS=1
|
NO_DEPENDS=1
|
||||||
FUNCTIONAL_TESTS_CONFIG="--exclude feature_block.py,p2p_invalid_messages.py"
|
|
||||||
GOAL="install"
|
GOAL="install"
|
||||||
BITCOIN_CONFIG="--enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
|
BITCOIN_CONFIG="--enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
|
||||||
# x86_64 Linux (no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer)
|
# x86_64 Linux (no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer)
|
||||||
|
|
|
@ -1181,7 +1181,7 @@ class FullBlockTest(BitcoinTestFramework):
|
||||||
self.save_spendable_output()
|
self.save_spendable_output()
|
||||||
spend = self.get_spendable_output()
|
spend = self.get_spendable_output()
|
||||||
|
|
||||||
self.sync_blocks(blocks, True, timeout=180)
|
self.sync_blocks(blocks, True, timeout=480)
|
||||||
chain1_tip = i
|
chain1_tip = i
|
||||||
|
|
||||||
# now create alt chain of same length
|
# now create alt chain of same length
|
||||||
|
@ -1193,14 +1193,14 @@ class FullBlockTest(BitcoinTestFramework):
|
||||||
|
|
||||||
# extend alt chain to trigger re-org
|
# extend alt chain to trigger re-org
|
||||||
block = self.next_block("alt" + str(chain1_tip + 1))
|
block = self.next_block("alt" + str(chain1_tip + 1))
|
||||||
self.sync_blocks([block], True, timeout=180)
|
self.sync_blocks([block], True, timeout=480)
|
||||||
|
|
||||||
# ... and re-org back to the first chain
|
# ... and re-org back to the first chain
|
||||||
self.move_tip(chain1_tip)
|
self.move_tip(chain1_tip)
|
||||||
block = self.next_block(chain1_tip + 1)
|
block = self.next_block(chain1_tip + 1)
|
||||||
self.sync_blocks([block], False, force_send=True)
|
self.sync_blocks([block], False, force_send=True)
|
||||||
block = self.next_block(chain1_tip + 2)
|
block = self.next_block(chain1_tip + 2)
|
||||||
self.sync_blocks([block], True, timeout=180)
|
self.sync_blocks([block], True, timeout=480)
|
||||||
|
|
||||||
# Helper methods
|
# Helper methods
|
||||||
################
|
################
|
||||||
|
|
|
@ -86,7 +86,7 @@ class InvalidMessagesTest(BitcoinTestFramework):
|
||||||
|
|
||||||
# Peer 1, despite serving up a bunch of nonsense, should still be connected.
|
# Peer 1, despite serving up a bunch of nonsense, should still be connected.
|
||||||
self.log.info("Waiting for node to drop junk messages.")
|
self.log.info("Waiting for node to drop junk messages.")
|
||||||
node.p2p.sync_with_ping(timeout=30)
|
node.p2p.sync_with_ping(timeout=120)
|
||||||
assert node.p2p.is_connected
|
assert node.p2p.is_connected
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue