Commit Graph

111 Commits

Author SHA1 Message Date
NicolasDorier b0d81be4cd [qa] assert_start_raises_init_error
Zcash: Excludes wallet-hd.py change (missing bitcoin/bitcoin#8309)
2020-03-24 21:55:08 +13:00
Wladimir J. van der Laan 11240d0928 test_framework: detect failure of bitcoind startup
Replace the `bitcoin-cli -rpcwait` after spawning bitcoind
with our own loop that detects when bitcoind exits prematurely.

And if one node fails to start, stop the others.

This prevents a hang in such a case (see #7463).
2020-03-24 21:55:08 +13:00
James O'Beirne d38a012970 Add basic coverage reporting for RPC tests
Thanks to @MarcoFalke @dexX7 @laanwj for review.

Zcash: Includes all the backend changes, but excludes the --coverage flag
added to rpc-tests.py as we have not yet migrated away from rpc-tests.sh.
2020-03-24 21:51:51 +13:00
ptschip 8f863b2817 Enable python tests for Native Windows
1) Multiplatorm support for devnull
2) Fixed a bug in the handling of cache files
3) Deleted run-bitcoin-cli as no longer needed
2020-03-24 18:05:30 +13:00
Homu c3df71a8e9 Auto merge of #4386 - oxarbitrage:issue4385, r=daira
add check_node_log utility function

Closes https://github.com/zcash/zcash/issues/4385
2020-03-19 13:26:42 +00:00
Alfredo Garcia 2707e6ff6c preserve test semantics
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-03-18 22:49:44 -03:00
mdr0id e5e639ae22 Update RPCs to support cross platform paths and libs 2020-03-12 10:27:12 -07:00
Alfredo Garcia 1485c596e7 add stop_node argument to check_node_log, use it in shieldingcoinbase 2020-03-10 14:21:05 -03:00
Alfredo Garcia 461047ac99 move check_node_log framework test to a new file 2020-03-10 11:05:49 -03:00
Alfredo Garcia aa89d3c342 add check_node_log utility function 2020-03-06 19:17:18 -03:00
Alfredo Garcia 70d5682e31
Merge branch 'master' into issue4004 2020-02-11 10:58:33 -03:00
Alfredo Garcia ebd9d0c562
remove unused imports 2020-02-11 10:56:45 -03:00
mdr0id fdac835b13 update comment regarding prior py2 exception 2020-02-09 12:38:01 -08:00
mdr0id 9592ded3cc clean up conventions and whitespace 2020-02-09 08:44:23 -08:00
mdr0id 8f859cbf85 fix pyflakes errors 2020-02-09 08:18:00 -08:00
mdr0id c7113bd6f1 Update json to simplejson to remove unicode and str issue from py2 to py3 2020-02-09 08:18:00 -08:00
mdr0id 3eb6512b78 cleanups and fixing odd casting 2020-02-09 08:18:00 -08:00
mdr0id b2752948c0 fix url and port issue 2020-02-09 08:18:00 -08:00
mdr0id 08cfd935d6 clean up 2020-02-09 08:17:32 -08:00
mdr0id 4801c316fc clean up 2020-02-09 08:17:32 -08:00
mdr0id ff5a47acfa clean up 2020-02-09 08:17:32 -08:00
mdr0id 2d4f4f0b13 remove debug lines from prior commits 2020-02-09 08:17:32 -08:00
mdr0id 51c020bc68 Use upstream encoding for encodeDecimal 2020-02-09 08:15:43 -08:00
mdr0id af903084c7 clean up 2020-02-09 08:15:43 -08:00
mdr0id 7b81c00ee4 clean-up imports, keep string notation consistent, remove spacing 2020-02-09 08:15:43 -08:00
mdr0id 75c199ead4 correct update to python3 2020-02-09 08:15:43 -08:00
mdr0id 623f3eb9da make import urlparse module consistent,httplib update to py3 2020-02-09 08:15:43 -08:00
mdr0id 59068ea071 fix except bug for undefined url 2020-02-09 08:15:43 -08:00
mdr0id 785c3abf05 Clean up code from upstream we dont use 2020-02-09 08:15:43 -08:00
mdr0id 6ed23daf6f Use more meaningful assert_equal from our original codebase 2020-02-09 08:15:43 -08:00
mdr0id 80e4406ee1 update remaining encoding issues, add pyblake2 2020-02-09 08:15:43 -08:00
mdr0id 3f751205b1 update io module, fix py3 division, and string encoding 2020-02-09 08:15:43 -08:00
mdr0id bc14f56398 Clean up code not needed from upstream 2020-02-09 08:15:43 -08:00
mdr0id c92cac4776 update encoding, decoding, serialize funcs for py3 2020-02-09 08:15:43 -08:00
mdr0id 09fa601617 update to py3 encodings 2020-02-09 08:15:43 -08:00
mdr0id 843df2a31d update to py3 conventions, clean up code to be upstream consistent 2020-02-09 08:15:43 -08:00
mdr0id be0d6ea8c2 update to py3 conventions, update functions to be upstream consistent 2020-02-09 08:15:43 -08:00
mdr0id f4dcf02062 update to py3 env path 2020-02-09 08:14:21 -08:00
mdr0id 04d218f49d Add keyerror execption 2020-02-09 08:14:21 -08:00
mdr0id c0d7fde366 clean up binascii call 2020-02-09 08:14:21 -08:00
mdr0id 45915145cf update str cast to prevent address assert issues 2020-02-09 08:14:21 -08:00
mdr0id 82162e7d20 Update rpc-test/test_framework to Py3 convention,modules,encoding 2020-02-09 08:14:21 -08:00
mdr0id bda88213a6 update test_framework modules 2020-02-09 08:09:31 -08:00
Jack Grigg 5199ecdf41 test: Update RPC test cache generation to handle new consensus rule
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-02-04 23:12:36 +00:00
Jack Grigg 03db5c8ca3
Tie sync_blocks in RPC tests to notifier thread 2019-12-18 15:06:54 -06:00
Alfredo Garcia 910ff448d6 remove SignatureHash from python rpc tests 2019-12-11 14:46:56 -03:00
Wladimir J. van der Laan e427f70a8c make proxy_test work on servers without ipv6 2019-11-27 10:38:14 -08:00
Homu 961c0d58ec Auto merge of #4060 - str4d:remove-libsnark, r=daira
Remove libsnark

Closes #167. Closes #416. Closes #418. Closes #437.
Closes #521. Closes #743. Closes #750. Closes #894.
Closes #903. Closes #1125. Closes #1136. Closes #1240.
Closes #1264. Closes #1516. Closes #1517. Closes #1651.
Closes #2064. Closes #2158. Closes #3478. Closes #3652.
Closes #3744.
2019-09-26 11:21:40 -07:00
Jack Grigg 9d8322a341
Enable RPC tests to wait on mempool notifications 2019-09-20 21:41:49 +01:00
Jack Grigg 982e924e98
tests: Clean up use of repr() in mininode 2019-09-16 12:23:46 +01:00