aboutsummaryrefslogtreecommitdiff
path: root/qa
AgeCommit message (Collapse)Author
2016-10-13Merge #8904: [qa] Fix compact block shortids for a test caseWladimir J. van der Laan
4cdece4 [qa] Fix compact block shortids for a test case (Dagur Valberg Johannsson)
2016-10-11Merge #8882: [qa] Fix race conditions in p2p-compactblocks.py and sendheaders.pyMarcoFalke
b55d941 [qa] Fix race condition in sendheaders.py (Suhas Daftuar) 6976db2 [qa] Another attempt to fix race condition in p2p-compactblocks.py (Suhas Daftuar)
2016-10-10[qa] Fix compact block shortids for a test caseDagur Valberg Johannsson
2016-10-06[qa] Fix race condition in sendheaders.pySuhas Daftuar
Also de-duplicates code that has been moved to mininode
2016-10-04[qa] Another attempt to fix race condition in p2p-compactblocks.pySuhas Daftuar
sync_with_ping() only guarantees that the node has processed messages it's received from the peer, not that block announcements from the node have made it back to the peer. Replace sync_with_ping() with an explicit check that the node's tip has been announced.
2016-10-04[qa] Update p2p-compactblocks.py for compactblocks v2Suhas Daftuar
2016-10-04[qa] Add support for compactblocks v2 to mininodeSuhas Daftuar
2016-10-04[qa] Fix bug in mininode witness deserializationSuhas Daftuar
Also improve tx printing
2016-10-04Fix overly-prescriptive p2p-segwit test for new fetch logicMatt Corallo
2016-10-03Merge #8860: [qa] util: Move wait_bitcoinds() into stop_nodes()MarcoFalke
fa7c35c [qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
2016-10-02[qa] mininode: Only allow named args in wait_untilMarcoFalke
2016-10-02[qa] util: Move wait_bitcoinds() into stop_nodes()MarcoFalke
2016-10-01Merge #8854: [qa] Fix race condition in p2p-compactblocks testMarcoFalke
b5fd666 [qa] Fix race condition in p2p-compactblocks test (Suhas Daftuar)
2016-09-30[qa] Fix race condition in p2p-compactblocks testSuhas Daftuar
Also fix a bug in the sync_with_ping() helper function
2016-09-30Merge #8839: test: Avoid ConnectionResetErrors during RPC testsWladimir J. van der Laan
1d28faf test: Avoid ConnectionResetErrors during RPC tests (Wladimir J. van der Laan)
2016-09-30Merge #8840: test: Explicitly set encoding to utf8 when opening text filesWladimir J. van der Laan
30930e8 test: Explicitly set encoding to utf8 when opening text files (Wladimir J. van der Laan)
2016-09-30Merge #8841: [qa] fix nulldummy testWladimir J. van der Laan
46a4774 Fix nulldummy.py test (Johnson Lau)
2016-09-30Fix nulldummy.py testJohnson Lau
2016-09-29test: Explicitly set encoding to utf8 when opening text filesWladimir J. van der Laan
These are text files but their encoding does not depend on the locale. Not all of them require utf8 but it is better to fix it at something to remove potential unpredictability. This is necessary on FreeBSD where no locale is set by default, and apparently Python defaults not only the terminal encoding to the locale but that of every text file. So without LOCALE environment it defaults text file encoding to ASCII. This causes problems with e.g. `bitcoin.conf`. Luckily the locale doesn't affect the default encoding for str.encode() and bytes.decode() on Python 3, so this is the only change necessary.
2016-09-29Merge #8834: [qa] blockstore: Switch to dumb dbmWladimir J. van der Laan
fa9cd25 [qa] blockstore: Switch to dumb dbm (MarcoFalke)
2016-09-29test: Avoid ConnectionResetErrors during RPC testsWladimir J. van der Laan
This is necessary on FreeBSD and MacOSX, at least. See https://github.com/bitcoin/bitcoin/pull/8834#issuecomment-250450213
2016-09-29Merge #8835: [qa] nulldummy.py: Don't run unused codeWladimir J. van der Laan
fa156c6 [qa] nulldummy: Don't run unused code (MarcoFalke)
2016-09-29[qa] nulldummy: Don't run unused codeMarcoFalke
2016-09-29Merge #8827: [qa] Split up slow RPC calls to avoid pruning test timeoutsMarcoFalke
a0f8482 [qa] Split up slow RPC calls to avoid pruning test timeouts (Suhas Daftuar)
2016-09-29[qa] blockstore: Switch to dumb dbmMarcoFalke
2016-09-28[qa] Split up slow RPC calls to avoid pruning test timeoutsSuhas Daftuar
2016-09-27Merge #8810: tests: Add exception error message for JSONRPCExceptionWladimir J. van der Laan
42f6aed tests: Add exception error message for JSONRPCException (Wladimir J. van der Laan)
2016-09-27Merge #8803: Ping regularly in p2p-segwit.py to keep connection aliveWladimir J. van der Laan
0637b02 Ping regularly in p2p-segwit.py to keep connection alive (Johnson Lau)
2016-09-26Merge #8780: [rpc] Deprecate getinfoWladimir J. van der Laan
fa6e71b [qa] Add getinfo smoke tests and rework versionbits test (MarcoFalke) ddddaaf [rpc] Deprecate getinfo (MarcoFalke)
2016-09-25tests: Add exception error message for JSONRPCExceptionWladimir J. van der Laan
This improves error reporting if `JSONRPCException` is not specifically caught and ends up in Python's default backtrace handler. Before: ``` Traceback (most recent call last): File "/.../projects/bitcoin/bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 153, in __call__ raise JSONRPCException(response['error']) test_framework.authproxy.JSONRPCException ``` After: ``` Traceback (most recent call last): File "/.../projects/bitcoin/bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 152, in __call__ raise JSONRPCException(response['error']) test_framework.authproxy.JSONRPCException: Unknown named parameter random (-8) ```
2016-09-25Ping regularly in p2p-segwit.py to keep connection aliveJohnson Lau
This pings regularly while building a big block in p2p-segwit.py, to prevent timeout
2016-09-25[qa] Add getinfo smoke tests and rework versionbits testMarcoFalke
2016-09-24Merge #8789: [qa] pull-tester: Only print output when failedMarcoFalke
fa427ce [qa] pull-tester: Only print output when failed (MarcoFalke)
2016-09-22[qa] pull-tester: Only print output when failedMarcoFalke
2016-09-22Merge #8636: Implement NULLDUMMY softfork (BIP147)Wladimir J. van der Laan
482f852 Implement NULLDUMMY softfork (Johnson Lau)
2016-09-21[rpc] Deprecate getinfoMarcoFalke
This was replaced by getmininginfo, getnetworkinfo and getwalletinfo
2016-09-20Merge #8739: [qa] Fix broken sendcmpct test in p2p-compactblocks.pyWladimir J. van der Laan
157254a Fix broken sendcmpct test in p2p-compactblocks.py (Suhas Daftuar)
2016-09-19Merge #8676: Add missing copyright headersWladimir J. van der Laan
783e930 [copyright] Add missing copyright headers (isle2983)
2016-09-19Merge #8750: [qa] Refactor RPCTestHandler to prevent TimeoutExpiredWladimir J. van der Laan
dddd04f [qa] Refactor RPCTestHandler to prevent TimeoutExpired (MarcoFalke)
2016-09-19Merge #8716: [qa] wallet: Check legacy wallet as wellWladimir J. van der Laan
fa644d0 [qa] wallet: Check legacy wallet as well (MarcoFalke)
2016-09-19Merge #8724: [qa] walletbackup: Sync blocks inside the loopMarcoFalke
fad41f3 [qa] walletbackup: Sync blocks inside the loop (MarcoFalke)
2016-09-17[qa] Refactor RPCTestHandler to prevent TimeoutExpiredMarcoFalke
2016-09-15Fix broken sendcmpct test in p2p-compactblocks.pySuhas Daftuar
Python lambda use was incorrect. sendcmpct messages need to be synchronized with RPC calls to generate(). Headers need to be synced (eg with getheaders) for cmpctblock announcements to start. Last test omitted sending a sendcmpct message.
2016-09-14[qa] walletbackup: Sync blocks inside the loopMarcoFalke
2016-09-14[qa] wallet: Check legacy wallet as wellMarcoFalke
2016-09-13[qa] create_cache: Delete temp dir when doneMarcoFalke
2016-09-13Merge #8652: [qa]: remove root test directory for RPC testsMarcoFalke
c62cc4e fix path for bak file (whythat) 438e94d remove root test directory for RPC tests (whythat)
2016-09-13Merge #8528: Update p2p-segwit.py to reflect correct behaviorWladimir J. van der Laan
5547aeb p2psegwit.py transaction is rejected due to premature witness not size (instagibbs) bc1d1f2 Update p2p-segwit.py to reflect correct AskFor behavior (instagibbs)
2016-09-11[copyright] Add missing copyright headersisle2983
2016-09-09Merge #8667: Fix SIGHASH_SINGLE bug in test_framework SignatureHashMarcoFalke
2f2548d Fix SIGHASH_SINGLE bug in test_framework SignatureHash (Johnson Lau)