Skip to content

Commit 45fe390

Browse files
author
MarcoFalke
committed
Merge #15005: test: Bump timeout to run tests in travis thread sanitizer
fa05d52 test: Bump timeout to run tests in travis thread sanitizer (MarcoFalke) Pull request description: No need to exclude tests because their timeout was set too strict Tree-SHA512: ea7032e674a66456bab40122adf4beebd703fd626a7567ca76d2a4e78041af115564d863dc7f742d39bd4adb249c29751439a1238d5e5c34e474c7221d4fd6e1
2 parents 86e0a33 + fa05d52 commit 45fe390

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ jobs:
9999
DOCKER_NAME_TAG=ubuntu:16.04
100100
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"
101101
NO_DEPENDS=1
102-
FUNCTIONAL_TESTS_CONFIG="--exclude feature_block.py,p2p_invalid_messages.py"
103102
GOAL="install"
104103
BITCOIN_CONFIG="--enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
105104
# x86_64 Linux (no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer)

test/functional/feature_block.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ def run_test(self):
11811181
self.save_spendable_output()
11821182
spend = self.get_spendable_output()
11831183

1184-
self.sync_blocks(blocks, True, timeout=180)
1184+
self.sync_blocks(blocks, True, timeout=480)
11851185
chain1_tip = i
11861186

11871187
# now create alt chain of same length
@@ -1193,14 +1193,14 @@ def run_test(self):
11931193

11941194
# extend alt chain to trigger re-org
11951195
block = self.next_block("alt" + str(chain1_tip + 1))
1196-
self.sync_blocks([block], True, timeout=180)
1196+
self.sync_blocks([block], True, timeout=480)
11971197

11981198
# ... and re-org back to the first chain
11991199
self.move_tip(chain1_tip)
12001200
block = self.next_block(chain1_tip + 1)
12011201
self.sync_blocks([block], False, force_send=True)
12021202
block = self.next_block(chain1_tip + 2)
1203-
self.sync_blocks([block], True, timeout=180)
1203+
self.sync_blocks([block], True, timeout=480)
12041204

12051205
# Helper methods
12061206
################

test/functional/p2p_invalid_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def run_test(self):
8686

8787
# Peer 1, despite serving up a bunch of nonsense, should still be connected.
8888
self.log.info("Waiting for node to drop junk messages.")
89-
node.p2p.sync_with_ping(timeout=30)
89+
node.p2p.sync_with_ping(timeout=120)
9090
assert node.p2p.is_connected
9191

9292
#

0 commit comments

Comments
 (0)