aboutsummaryrefslogtreecommitdiff
path: root/qa
AgeCommit message (Collapse)Author
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)
2016-09-09Merge #8680: Address Travis spurious failuresWladimir J. van der Laan
d6a5dc4 add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests (Cory Fields)
2016-09-07add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for testsCory Fields
waitfornewblock waits until a new block is received, or the timeout expires, then returns the current block height/hash. waitforblock waits for a specific blockhash, or until the timeout expires, then returns the current block height/hash. If the target blockhash is the current tip, it will return immediately. waitforblockheight waits until the tip has reached a certain height or higher, then returns the current height and hash. waitforblockheight is used to avoid polling in the rpc tests.
2016-09-06Fix SIGHASH_SINGLE bug in test_framework SignatureHashJohnson Lau
The value for "other" inputs should be -1 (0xffffffffffffffff) instead of 0
2016-09-05Add basic test for IsStandard witness transaction blindinginstagibbs
2016-09-05fix path for bak filewhythat
2016-09-05remove root test directory for RPC testswhythat
2016-09-01rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUESTdjpnewton
2016-08-31Implement NULLDUMMY softforkJohnson Lau
2016-08-29[doc] - clarify statement about parallel jobs in rpc-tests.pyisle2983