aboutsummaryrefslogtreecommitdiff
path: root/qa
AgeCommit message (Collapse)Author
2016-04-20Tests: Fix deserialization of reject messagesSuhas Daftuar
Assume that reject messages for blocks or transactions due to reason REJECT_MALFORMED will not include the hash of the block or tx being rejected.
2016-04-19Merge #7762: [ZMQ] append a message sequence number to every ZMQ notificationWladimir J. van der Laan
0b25a9f [ZMQ] append a message sequence number to every ZMQ notification (Jonas Schnelli) de821d5 [ZMQ] refactor message string (Jonas Schnelli)
2016-04-19[ZMQ] append a message sequence number to every ZMQ notificationJonas Schnelli
2016-04-19Add test to check spendable and unspendable UTXO on RPC listunspentJoao Fonseca
2016-04-19Move method to check matches within arrays on util.pyJoao Fonseca
2016-04-19Merge #7851: [qa] pull-tester: Don't mute zmq ImportErrorWladimir J. van der Laan
fae1f4e [qa] rpc-tests: Fix link in comment and label error msg (MarcoFalke) faa4f22 [qa] pull-tester: Exit early when no tests are run (MarcoFalke) fa05e22 [qa] pull-tester: Don't mute zmq ImportError (MarcoFalke)
2016-04-18[qa] rpc-tests: Fix link in comment and label error msgMarcoFalke
2016-04-18Merge #7833: tests: Check Content-Type header returned from RPC serverWladimir J. van der Laan
5078ca4 tests: Check Content-Type header returned from RPC server (Wladimir J. van der Laan)
2016-04-15Add change options to fundrawtransactionJoão Barbosa
2016-04-14Merge #7853: [qa] py2: Unfiddle strings into bytes explicitlyWladimir J. van der Laan
faa41ee [qa] py2: Unfiddle strings into bytes explicitly (MarcoFalke)
2016-04-13rpc-tests: handle KeyError nicely in test_framework.pyRusty Russell
btcdrak wrote this for me. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-04-13getblockchaininfo: make bip9_softforks an object, not an array.Rusty Russell
We can't change "softforks", but it seems far more logical to use tags in an object rather than using an "id" field in an array. For example, to get the csv status before, you need to iterate the array to find the entry with 'id' field equal to "csv": jq '.bip9_softforks | map(select(.id == "csv"))[] | .status' Now: jq '.bip9_softforks.csv.status' There is no issue with fork names being incompatible with JSON tags, since we're selecting them ourselves. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-04-10[qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke
2016-04-09[qa] pull-tester: Exit early when no tests are runMarcoFalke
2016-04-09[qa] pull-tester: Don't mute zmq ImportErrorMarcoFalke
2016-04-07Test relay of version 2 transactionsSuhas Daftuar
2016-04-07Tests: move get_bip9_status to util.pySuhas Daftuar
2016-04-07tests: Check Content-Type header returned from RPC serverWladimir J. van der Laan
Check the Content-Type header that is returned from the RPC server. Only if it is `application/json` the data is supposed to be parsed as JSON. This gives better reporting if the HTTP server happens to return an error that is not JSON-formatted, which is the case if it happens at a lower level before JSON-RPC kicks in. Before: `Unexpected exception caught during testing: No JSON object could be decoded` After: `JSONRPC error: non-JSON HTTP response with '403 Forbidden' from server`
2016-04-06Merge #7802: [qa] httpbasics: Actually test second connectionWladimir J. van der Laan
fa24456 [qa] httpbasics: Actually test second connection (MarcoFalke)
2016-04-06Merge #7803: [qa] maxblocksinflight: Actually enable testWladimir J. van der Laan
fac724c [qa] maxblocksinflight: Actually enable test (MarcoFalke)
2016-04-06Merge #7801: [qa] Remove misleading "errorString syntax"Wladimir J. van der Laan
ffff866 [qa] Remove misleading "errorString syntax" (MarcoFalke)
2016-04-04RPC: add versionHex in getblock and getblockheader JSON results; expand data ↵mruddy
in getblockchaininfo bip9_softforks field.
2016-04-03[qa] Remove misleading "errorString syntax"MarcoFalke
2016-04-03[qa] maxblocksinflight: Actually enable testMarcoFalke
2016-04-03[qa] httpbasics: Actually test second connectionMarcoFalke
2016-04-03Merge #7778: [qa] Bug fixes and refactorWladimir J. van der Laan
4444806 [qa] mininode: Combine struct.pack format strings (MarcoFalke) faaa3c9 [qa] mininode: Catch exceptions in got_data (MarcoFalke) fa2cea1 [qa] rpc-tests: Properly use integers, floats (MarcoFalke) fa524d9 [qa] Use python2/3 syntax (MarcoFalke)
2016-04-02[qa] mininode: Combine struct.pack format stringsMarcoFalke
2016-04-01[qa] mininode: Catch exceptions in got_dataMarcoFalke
2016-04-01[qa] rpc-tests: Properly use integers, floatsMarcoFalke
2016-04-01Merge #7489: tests: Make proxy_test work on travis servers without IPv6Wladimir J. van der Laan
7539f1a tests: Make proxy_test work on travis servers without IPv6 (Wladimir J. van der Laan)
2016-03-31[qa] Use python2/3 syntaxMarcoFalke
2016-03-30Fix comments in testsBtcDrak
2016-03-30Merge #7648: BIP9 versionbits softfork for BIP68, BIP112 and BIP113Wladimir J. van der Laan
71527a0 Test of BIP9 fork activation of mtp, csv, sequence_lock (NicolasDorier) 19d73d5 Add RPC test for BIP 68/112/113 soft fork. (Alex Morcos) 12c89c9 Policy: allow transaction version 2 relay policy. (BtcDrak) 02c2435 Soft fork logic for BIP68 (BtcDrak) 478fba6 Soft fork logic for BIP113 (BtcDrak) 65751a3 Add CHECKSEQUENCEVERIFY softfork through BIP9 (Pieter Wuille)
2016-03-29Merge #7744: test_framework: detect failure of bitcoind startupWladimir J. van der Laan
018b60c test_framework: detect failure of bitcoind startup (Wladimir J. van der Laan)
2016-03-29[qa] Don't run pruning.py twiceMarcoFalke
2016-03-29Merge #7558: [RPC] Add import/removeprunedfunds rpc callWladimir J. van der Laan
f1bb13c Added companion removeprunedfunds call. (instagibbs) 7eb7029 Add importprunedfunds rpc call (instagibbs)
2016-03-28[qa] wallet: Wait for reindex to catch upMarcoFalke
2016-03-28test_framework: Py3.4 compat: Specify timeout parameter by nameLuke Dashjr
Changed in version 3.4: The strict parameter was removed. HTTP 0.9-style “Simple Responses” are not longer supported. (https://docs.python.org/3/library/http.client.html) Source: https://github.com/jgarzik/python-bitcoinrpc/commit/7ebeebb4f61917fe590d980cb4f9aefdce2c8f25
2016-03-28test_framework: Avoid infinite loop in encoding DecimalWladimir J. van der Laan
Avoid an infinite loop in encoding, by ensuring EncodeDecimal returns a string. round(Decimal) used to convert it to float, but it no longer does in python 3.x. Strings are supported since #6380, so just use that.
2016-03-26test_framework: detect failure of bitcoind startupWladimir J. van der Laan
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).
2016-03-23Added companion removeprunedfunds call.instagibbs
2016-03-23Add importprunedfunds rpc callinstagibbs
2016-03-23Merge #7715: Fix calculation of balances and available coins.Wladimir J. van der Laan
68d4282 Fix calculation of balances and available coins. (Alex Morcos)
2016-03-23Merge #7671: [RPC] Add generatetoaddress rpc to mine to an addressWladimir J. van der Laan
d5c5c71 RPC tests for generatetoaddress (Andrew C) fe00ca7 Create generatetoaddress rpc (Andrew C)
2016-03-21Add p2p test for feefilterAlex Morcos
2016-03-21Create SingleNodeConnCB class for RPC testsAlex Morcos
2016-03-21RPC tests for generatetoaddressAndrew C
Adds two RPC tests for the generatetoaddress RPC, one in the wallet, and one when the wallet is disabled. The wallet RPC Test mines Bitcoin to another node's address and checks that that node has received the Bitcoin. The RPC test without the wallet mines Bitcoin to an arbitrary address and checks that it works. It then mines to an arbitrary invalid address and checks that that fails.
2016-03-21Test of BIP9 fork activation of mtp, csv, sequence_lockNicolasDorier
2016-03-19[qa] rpc-test: Normalize assert()MarcoFalke
2016-03-18Fix calculation of balances and available coins.Alex Morcos
No longer consider coins which aren't in our mempool. Add test for regression in abandonconflict.py