MarcoFalke
df24dfd4bc
Merge #9233 : Fix some typos
...
15fa95d Fix some typos (fsb4000)
2018-01-17 17:27:24 +01:00
MarcoFalke
f831710f46
Merge #9139 : Change sync_blocks to pick smarter maxheight (on top of #9196 )
...
1126c85 [qa] Change sync_blocks to pick smarter maxheight (Russell Yanofsky)
2018-01-17 17:25:36 +01:00
MarcoFalke
a9a2db9a53
Merge #9168 : [qa] add assert_raises_message to check specific error message
...
307acdd [qa] add assert_raises_message to check specific error message (mrbandrews)
2018-01-15 06:14:16 +01:00
MarcoFalke
12883cfe4d
Merge #9136 : sync_blocks cleanup
...
7943b13 [qa] Avoid 2 list comprehensions in sync_blocks (Russell Yanofsky)
05e57cc [qa] Fix sync_blocks timeout argument (Russell Yanofsky)
fd6bb70 [qa] Improve sync_blocks error messages. (Russell Yanofsky)
2018-01-15 06:14:16 +01:00
MarcoFalke
3a388d9c01
Merge #9097 : [qa] Rework sync_* and preciousblock.py
...
fa97ccb [qa] util: Rework sync_*() (MarcoFalke)
fac1141 [qa] preciousblock: Use assert_equal and BitcoinTestFramework.__init__ (MarcoFalke)
2018-01-15 06:14:15 +01:00
MarcoFalke
3d7bb9cf55
Merge #9077 : [qa] Increase wallet-dump RPC timeout
...
e89614b [qa] Add more helpful RPC timeout message (Russell Yanofsky)
8463aaa [qa] Increase wallet-dump RPC timeout (Russell Yanofsky)
2018-01-15 06:14:11 +01:00
Wladimir J. van der Laan
6e871c0c2e
Merge #6996 : Add preciousblock RPC
...
5805ac8 Add preciousblock tests (Pieter Wuille)
5127c4f Add preciousblock RPC (Pieter Wuille)
2018-01-12 09:58:15 +01:00
MarcoFalke
23ac000008
Merge #8860 : [qa] util: Move wait_bitcoinds() into stop_nodes()
...
fa7c35c [qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
2018-01-12 09:57:56 +01:00
Wladimir J. van der Laan
942fe0ed49
Merge #8840 : test: Explicitly set encoding to utf8 when opening text files
...
30930e8 test: Explicitly set encoding to utf8 when opening text files (Wladimir J. van der Laan)
2018-01-12 09:56:53 +01:00
Wladimir J. van der Laan
c2a601f507
Merge #8680 : Address Travis spurious failures
...
d6a5dc4 add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests (Cory Fields)
2018-01-09 14:16:39 +01:00
Wladimir J. van der Laan
7231c66901
Revert "[qa] Adjust timeouts for micro-optimization of run time"
...
This reverts commit fa2d68f79c459b505652728c3d8da60679f98ae3.
Temporary revert - see discussion in #8532 .
2018-01-08 18:04:55 +01:00
Wladimir J. van der Laan
7bba7375d0
Merge #8482 : [qa] Use single cache dir for chains
...
fad8cf6 [qa] Use single cache dir for chains (MarcoFalke)
fa2d68f [qa] Adjust timeouts for micro-optimization of run time (MarcoFalke)
fae596f [qa] Sort scripts by time for pull_tester and don't overwrite setup_chain (MarcoFalke)
2018-01-08 18:04:55 +01:00
MarcoFalke
8c76eb7394
Merge #8400 : [qa]: enable rpcbind_test
...
9bbb414 [qa]: enable rpcbind_test (whythat)
0ff4375 [qa]: add parsing for '<host>:<port>' argument form to rpc_url() (whythat)
2018-01-08 18:04:55 +01:00
Wladimir J. van der Laan
782745b05b
Merge #8066 : [qa] test_framework: Use different rpc_auth_pair for each node
...
fad1845 [qa] test_framework: Use different rpc_auth_pair for each node (MarcoFalke)
2017-12-28 11:44:59 +01:00
Wladimir J. van der Laan
2e51d82735
Merge #8201 : [qa] fundrawtransaction: Fix race, assert amounts
...
fae1d06 [qa] fundrawtransaction: Fix race, assert amounts (MarcoFalke)
fa26c42 [qa] util: Move check_fee_amount out of wallet.py (MarcoFalke)
2017-12-22 17:20:43 +01:00
Alexander Block
475dbd49be
Pass sys.stdout to Popen instead of subprocess.STDOUT
...
For some reason, subprocess.STDOUT is completely ignored when run on
Travis. Using sys.stdout however works as expected.
2017-12-22 08:51:30 +01:00
Alexander Block
21aaf92896
Introduce redirect_stderr argument to start_node
...
Also call it with redirect_stderr=True in all cases were non-critical
warnings are expected.
2017-12-21 20:36:54 +01:00
Alexander Block
fbe36d3db6
Pass -createwalletbackups=0 to dashd when running rpc tests
...
It was always complaining about failed backups due to dashd restarting too
fast. Additionally, since the recent RPC test framework backports, all
tests are expected to print NOTHING to stderr, otherwise they fail.
2017-12-21 20:35:32 +01:00
MarcoFalke
0027292ac6
Merge #8104 : Tests: add timeout to sync_blocks() and sync_mempools()
...
e871f83 Tests: add timeout to sync_blocks() and sync_mempools() (Suhas Daftuar)
2017-12-21 18:50:14 +01:00
MarcoFalke
62aaaaeac0
Merge #8047 : [qa] test_framework: Set wait-timeout for bitcoind procs
...
fab5233 [qa] test_framework: Set wait-timeout for bitcoind procs (MarcoFalke)
2017-12-21 18:50:13 +01:00
MarcoFalke
bcecdcd8e9
Merge #8056 : [qa] Remove hardcoded "4 nodes" from test_framework
...
fad68f7 [qa] Reduce node count for some tests (MarcoFalke)
fac9349 [qa] Remove hardcoded "4 nodes" from test_framework (MarcoFalke)
2017-12-21 18:50:13 +01:00
MarcoFalke
f1996dc8ca
Merge #7972 : [qa] pull-tester: Run rpc test in parallel
...
ccccc59 [qa] Add option --portseed to test_framework (MarcoFalke)
fa494de [qa] pull-tester: Run rpc test in parallel (MarcoFalke)
2017-12-21 18:50:13 +01:00
MarcoFalke
8bafa06b75
Merge #7971 : [qa] Refactor test_framework and pull tester
...
fad3366 [qa] pull-tester: Adjust comment (MarcoFalke)
fafb33c [qa] Stop other nodes, even when one fails to stop (MarcoFalke)
2222dae [qa] Update README.md (MarcoFalke)
fabbf6b [qa] Refactor test_framework and pull tester (MarcoFalke)
2017-12-21 18:50:13 +01:00
Wladimir J. van der Laan
25147c9dc7
Merge #7814 : [qa] Switch to py3
...
fa389d4 [qa] Switch to py3 (MarcoFalke)
2017-12-21 17:31:54 +01:00
Wladimir J. van der Laan
cc3a06bf53
Merge #7863 : getblockchaininfo: make bip9_softforks an object, not an array.
...
d12760b rpc-tests: handle KeyError nicely in test_framework.py (Rusty Russell)
85c807c getblockchaininfo: make bip9_softforks an object, not an array. (Rusty Russell)
2017-12-20 14:58:27 +01:00
Holger Schinzel
e1702cd4ec
bump copyright notice to 2017 ( #1207 )
2016-12-20 17:26:45 +04:00
UdjinM6
790607b060
Fix wallet.py iand util.py after merging bitcoin 0.12
2016-08-26 13:42:52 +03:00
UdjinM6
6af7a58d92
Merge remote-tracking branch 'bitcoin/0.12' into mergebtc12, fix/dashify
...
NOTE: .travis.yml was mostly preserved, probably needs additional attention
2016-08-26 04:09:20 +03:00
Tim Flynn
123aa04d5b
Merge #950 : V0.12.1.x governance pr 2
...
13316a4 Return true from IsBlockValueValid when masternode data is not synced
- This restores behavior very close to that in 12.0
- Needed to prevent the forking problem currently being seen on
testnet between online and offline nodes
- This is expected to be a temporary fix while we develop a
long-term solution for this problem
427086e Restore miner payments for superblocks
794b90d Added IsSynced field to JSON output of mnsync status RPC command
- This is needed to allow fixing RPC tests so that they wait until
the nodes are fully synced before performing tests
a9ddf6f Wait for nodes to sync masternode data during p2p-fullblocktest
2016-08-19 05:53:49 -06:00
Holger Schinzel
f4e4dd65e7
Tag 0.12.1 final
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEbBAABCgAGBQJXD/i3AAoJEHSBCwEjRsmmOHsH+L5eRpiPeLhrDYyBFbp9RFKU
TztyoeKAM4llEPmk6vAawgSL8HNY4va6lbY84sDfvCdLJqCxVR7MyiuQ4AQPXG4R
Ke5DJ/G/K4ngyqruCBsSh2RJdVDrbE3zCmjN5gxPxrNKpi+mXs//A6gjvfxn4U1F
WZepN3FzNFcqFG/ndKxptMYZoIuiK9JIhK7V/ksFKRPlUhipa1jh5sIWvCeFjiLT
Wt8wGlHPHDFsPJW1o7EWMTHRhNCVqYhMDU7GT6FixIJFRGANIGlwfIUuqqUt0sil
7YWIwD/+ai3dfeODazauqJAOEBXjoWCkuXn9IN/VhtvHOFR6AZO2aljS9ks6Cw==
=6vRi
-----END PGP SIGNATURE-----
Merge bitcoin tag 'v0.12.1' into dash v0.12.1.x
Merging Bitcoin 0.12.1 into Dash 0.12.1.x
2016-07-04 11:20:16 +02:00
MarcoFalke
493b89e959
[qa] test_framework: Properly print exceptions and assert empty dict
...
Github-Pull: #7951
Rebased-From: 5555528b47b7d33a5b963c076e6bb09ee25931b5 fada064f67302502f6b51d9d22927381c2707cbb
2016-06-10 00:22:41 +02:00
Wladimir J. van der Laan
80b6bfaeaa
test_framework: detect failure of bitcoind startup
...
Github-Pull: #7744
Rebased-From: 018b60c5ea703ed12edcde034a185f79e77e5576
2016-06-09 23:51:53 +02:00
ptschip
90955940d5
Do not download transactions during inital sync
...
Github-Pull: #7164
Rebased-From: 39a525c21fd1b34df63ab30868423b97b708ee49
2016-04-27 22:34:47 +02:00
MarcoFalke
89ae85484c
Merge #7811 : [0.12.2] qa Backports
...
6862627
Add listunspent() test for spendable/unspendable UTXO (Joao Fonseca)
28ba22c
[qa] Remove misleading "errorString syntax" (MarcoFalke)
f1f1b82
[qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)
c0d9e31
Tests: make prioritise_transaction.py more robust (Suhas Daftuar)
ff9b436
[qa] Bug fixes and refactor (MarcoFalke)
b1dd64b
[qa] wallet: Wait for reindex to catch up (MarcoFalke)
f23cb7c
[qa] Add tests verifychain, lockunspent, getbalance, listsinceblock (MarcoFalke)
3316552
[qa] Test walletpassphrase timeout (MarcoFalke)
6aae129
[qa] wallet: Print maintenance (MarcoFalke)
ad8c743
[qa] Extend tests (MarcoFalke)
d89fbfe
[qa] rpc-test: Normalize assert() (MarcoFalke)
2016-04-25 14:59:52 +02:00
Joao Fonseca
6862627ce6
Add listunspent() test for spendable/unspendable UTXO
...
Github-Pull: #7822
Rebased-From: fa942c755ab513829dcab27487ba1e7ab5a806ee 5d217decc1145823a3c126658c82c60cf7dbfec8
2016-04-19 16:37:14 +02:00
MarcoFalke
f1f1b82033
[qa] py2: Unfiddle strings into bytes explicitly
...
Github-Pull: #7853
Rebased-From: faa41ee204124da19dcf1e5b8a3aef1e216bf5e6, fa7abe0a00464e6aa88d55c63dba40878bbe5b79
Conflicts:
qa/rpc-tests/invalidtxrequest.py
qa/rpc-tests/p2p-feefilter.py
qa/rpc-tests/proxy_test.py
qa/rpc-tests/test_framework/mininode.py
qa/rpc-tests/test_framework/netutil.py
src/test/bctest.py
2016-04-15 09:55:12 +02:00
Suhas Daftuar
c0d9e31611
Tests: make prioritise_transaction.py more robust
...
Github-Pull: #7697
Rebased-From: ec143391ef791c15c0d4520befb8863b61bfc2ea
2016-04-10 11:46:16 +02:00
Suhas Daftuar
46898e7e94
Version 2 transactions remain non-standard until CSV activates
...
Before activation, such transactions might not be mined, so don't
allow into the mempool.
- Tests: move get_bip9_status to util.py
- Test relay of version 2 transactions
Github-Pull: #7835
Rebased-From: e4ba9f6b0402cf7a2ad0d74f617c434a26c6e124 5cb1d8a2071d05beb9907a423178895fd8a5c359 da5fdbb3a2778523cce70d635c1aa2b31a693bc6
2016-04-08 14:22:04 +02:00
UdjinM6
31ff9c2ff8
Fix rpc-tests, relies on PRs #715-#719
...
Closes #720
2016-03-06 18:16:02 +01:00
UdjinM6
b3d1140800
more bitcoin->dash
2016-03-04 12:09:03 +03:00
UdjinM6
a5ac60b868
Merge remote-tracking branch 'bitcoin/0.12' into HEAD
...
+ merge fixes
+ keepass on evhttp
2016-02-06 16:48:04 +03:00
James O'Beirne
351ffd8482
Fix help, add RPC tests for getblockheader
...
- Add assert_is_hex_string and assert_is_hash_string to RPC test utils.
- Add RPC documentation for getblockheader[chainwork].
- Add RPC tests for getblockheader.
Github-Pull: #7194
Rebased-From: 16d4fce0b203bdaa679ad5b3f1e6b6f46880d5d2 4745636126d9a4f28f701f701be392779815a7bf 135d6ec8cedc83ad800da45080c16d49e9182e80
2016-01-18 12:25:50 +01:00
MarcoFalke
d8b062d752
[qa] Fix pyton syntax in rpc tests
...
Github-Pull: #7335
Rebased-From: 7777994846cdb9b9cf69e391a33eeed30393bbcf
2016-01-18 10:46:46 +01:00
Jonas Schnelli
6191a9b628
[RPC-Tests] add option to run rpc test over QT clients
...
Github-Pull: #7068
Rebased-From: 979698c1715ce86a98934e48acadbc936c95c9a3
2016-01-13 21:25:35 +00:00
MarcoFalke
333e1eaeea
Bump copyright headers to 2015
...
- Bump copyright headers to 2015
- [devtools] Rewrite fix-copyright-headers.py
- [devtools] Use git pretty-format for year parsing
Github-Pull: #7205
Rebased-From: fa6ad855e9159b2247da4fa0054f32fa181499ab fa24439ff3d8ab5b9efaf66ef4dae6713b88cb35 fa71669452e57039e4270fd2b33a0e0e1635b813
2016-01-05 14:13:33 +01:00
MarcoFalke
bdd0f9e286
[qa] Move gen_return_txouts() to util.py
...
Github-Pull: #7250
Rebased-From: fa0a9749eb09f6b537b98075241a7fcb46f758e3
2016-01-04 11:58:36 +01:00
Wladimir J. van der Laan
453c56701a
tests: Disable Tor interaction
...
This is unnecessary during the current tests (any test for Tor
interaction can explicitly enable it) and interferes with the proxy
test.
Github-Pull: #7170
Rebased-From: 4c40ec0451a8f279f3e2e40af068c9451afd699e
2015-12-22 16:45:56 +01:00
Jonas Schnelli
9ef7c54ef0
[Tests] Add mempool_limit.py test
...
- [Tests] Add mempool_limit.py test
- [Tests] Refactor some shared functions
Github-Pull: #7153
Rebased-From: 110ff1142c5284edba8aab77fcac0bea0e551969 7632cf689a9b959dd7a059b8b4a04761a4bc6e6a
2015-12-22 14:08:22 +01:00
Wladimir J. van der Laan
9afbd96919
Merge pull request #7022
...
50947ef
Change default block priority size to 0 (Alex Morcos)
2015-12-01 12:39:34 +01:00
Suhas Daftuar
6e8b07f5f3
Add rounding helper function to util.py
2015-12-01 11:03:37 +01:00