MarcoFalke
e353d271f0
Merge #10359 : [tests] functional tests should call BitcoinTestFramework start/stop node methods
...
53f6775
fixup: fix nits (John Newbery)
a433d8a
[tests] Update start/stop node functions to be private module functions (John Newbery)
d8c218f
[tests] Functional tests call self.start_node(s) and self.stop_node(s) (John Newbery)
Tree-SHA512: 9cc01584a5e57686b7e7cb1c4c5186ad8cc7eb650d6d4f27b06bdb5e249a10966705814bdfb22d9ff2d5d3326911e489bf3d22257d751a299c0b24b7f40bffb5
2019-06-26 12:44:45 -05:00
Alexander Block
ee7cebb2b0
Temporary fix for race condition
2019-06-24 00:10:46 +02:00
MarcoFalke
c7cafe5def
Merge #11345 : [tests] Check connectivity before sending in assumevalid.py
...
e9e939108
[tests] Check connectivity before sending in assumevalid.py (John Newbery)
Pull request description:
assumevalid.py would try to send over a closed P2P connection in a loop,
hitting the following failure many times:
`TestFramework.mininode (ERROR): Cannot send message. No connection to node!`
The test still passed, but this is a lot of noise in the test log.
Just check that the connection is open before trying to send.
Tree-SHA512: 6faf2ce5717de976fed1b5c863bc8d17e785928690f833d5bf175178f95d39f455635a844fe7e0dfdad83ae779dd45bc6e4ed89a9467d8482c5be73b55095c8d
2019-06-24 00:10:46 +02:00
Alexander Block
38d37ae5ab
Don't check block indexes in assumevalid.py
...
CheckBlockIndex slows down header processing a lot, so that this test even
fails on Travis.
2019-06-24 00:10:46 +02:00
Alexander Block
a7f9f14d36
Give syncing in assumevalid.py more time
2019-06-22 14:15:12 +02:00
Alexander Block
c77c4330c7
Send less blocks to node1
...
We only want to verify that assumevalid causes block 102 to be accepted
even though it contains an invalid script, so there is no need to send
more blocks.
2019-06-22 14:14:01 +02:00
Alexander Block
d03bc6d023
No need to send so many headers to node0
...
We're only interested in node0 processing up to block 102, so we don't need
so many of the headers.
2019-06-22 14:14:01 +02:00
Alexander Block
c2ac477a11
Use 4x as much headers in assumevalid.py
...
Dash has only 1/4 of block time compared to Bitcoin, which requires 4 times
the amount of headers so that the assumevalid check in ConnectBlock results
in skipping of script checks.
Using so many headers now causes block time validation to fail (too far in
the future), so we need to adjust mock time as well.
2019-06-22 14:14:01 +02:00
Alexander Block
c44dece486
Disable DIP3 in multiple tests
2019-06-22 14:14:01 +02:00
Wladimir J. van der Laan
7fd979cc0e
Merge #10114 : [tests] sync_with_ping should assert that ping hasn't timed out
...
6a18bb9
[tests] sync_with_ping should assert that ping hasn't timed out (John Newbery)
6426716
Add send_await_disconnect() method to p2p-compactblocks.py (John Newbery)
Tree-SHA512: d0eeb066ed3f6aef594caaa693280d10abedac9b719e795c9659e52ddae315085eb2845131644793007e30a16e3e0bf3e3925b40ca2ae023cad923c5ab32df25
2019-05-21 08:52:48 -05:00
MarcoFalke
cc06ef5514
Merge #10109 : Remove SingleNodeConnCB
...
159fe88
Remove SingleNodeConnCB (John Newbery)
Tree-SHA512: 2fc3d060f4ac9445e657134919a871c46987d53eb98d23a858ee9515fc997be7a81923f08f2a37d07d123b55b912ae82ffa0f820d16297b044ab24dcf0788a8a
2019-05-21 08:52:47 -05:00
Wladimir J. van der Laan
142b5cba0b
Merge #10073 : Actually run assumevalid.py
...
717ad13
Actually run assumevalid.py. (John Newbery)
Tree-SHA512: 6fd55789be43e26347f8f5456194aa5e7beeeba3db85411dc75581b98059ca3a85485494fca36848f21c0f48096004906a0409fd76309951b5f977bab9f45b91
2019-05-21 08:52:45 -05:00
PastaPastaPasta
6edbc9cebd
Merge bitcoin#9956: Reorganise qa directory ( #2912 )
...
* Merge #9956 : Reorganise qa directory
63d66ba
Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py (John Newbery)
5b0bff4
Rename --enable-extended-rpc-tests to --enable-extended-functional-tests (John Newbery)
a9bd622
Rename test/pull-tester/rpc-tests.py to test/functional/test_runner.py (John Newbery)
c28ee91
Rename rpc-tests directory to functional (John Newbery)
00902c4
Rename qa directory to test (John Newbery)
Tree-SHA512: ee7125c0c647d81590177beef2c8852c4ef76fdcf888096d9d4d360562a01d8d3b453345c3040487b2a043935bd1e7e80018f34462d6e02262bedbe23edcc576
resolve build errors
Signed-off-by: Pasta <Pasta@dash.org>
update test_runner.py in testintegrations.sh
Signed-off-by: Pasta <Pasta@dash.org>
* moved dash specific tests
Signed-off-by: Pasta <Pasta@dash.org>
* dashify README.md
Signed-off-by: Pasta <Pasta@dash.org>
* removed autoix*.py
Signed-off-by: Pasta <Pasta@dash.org>
* change back file perms
* dedashify
Signed-off-by: Pasta <Pasta@dash.org>
2019-05-19 23:20:34 +03:00