Commit Graph

488 Commits (3dc8c012f0a40756f3c4359dbe169c03d7c8a725)

Author SHA1 Message Date
MarcoFalke fab17e8272
test: Add basic test for BIP34
6 years ago
MarcoFalke 96d912bea8
Merge #14738: Tests: Fix running wallet_listtransactions.py individually through test_runner.py
6 years ago
MarcoFalke 4999992c34
whitespace: Split ~300 char line into multiple ones
6 years ago
MarcoFalke fa71b38168
scripted-diff: Rename rpc_timewait to rpc_timeout
6 years ago
MarcoFalke b53573e5c6
Merge #14951: Revert "tests: Support calling add_nodes more than once"
6 years ago
MarcoFalke fa4b8c90d3
test: add_nodes can only be called once after set_test_params
6 years ago
MarcoFalke faa831102a
Revert "tests: Support calling add_nodes more than once"
6 years ago
Wladimir J. van der Laan 914faf1784
Merge #14805: tests: Support calling add_nodes more than once
6 years ago
Wladimir J. van der Laan 7202ae2e1b
Merge #14926: test: consensus: Check that final transactions are valid
6 years ago
Wladimir J. van der Laan 84dc252a02
Merge #14884: Travis: enforce Python 3.4 support through linter
6 years ago
Sjors Provoost 31926ee8cf
[test] functional framework: add CScript hex() for Python 3.4
6 years ago
MarcoFalke fae3617d79
test: Correctly deserialize without witness
6 years ago
Daniel Ingram 17b55202da Compare to None with is/is not
6 years ago
MarcoFalke 2753285be7
Merge #14788: tests: Possible fix the permission error when the tests open the cookie file
6 years ago
Wladimir J. van der Laan a88bd3186d
Merge #14670: http: Fix HTTP server shutdown
6 years ago
Wladimir J. van der Laan 0257062e50
Merge #14816: Add CScriptNum decode python implementation in functional suite
6 years ago
James O'Beirne 4aabadbf44 tests: have combine_logs default to most recent test dir
6 years ago
Gregory Sanders 2012d4df23 Add CScriptNum decode python implementation in functional suite
6 years ago
James O'Beirne 59e387705c test: add invalid tx templates for use in functional tests
6 years ago
James O'Beirne 5a1f57646b qa: clean up assert_memory_usage_stable utility
6 years ago
Chun Kuan Lee d6b3790d1a tests: check readability of cookie file
6 years ago
João Barbosa 28479f926f qa: Test bitcond shutdown
6 years ago
Steven Roose 98a1846b00 tests: Support calling add_nodes more than once
6 years ago
Kristaps Kaupe 2474de0265 Fix running individually through test_runner.py, as suggested by @MarcoFalke (#14732)
6 years ago
MarcoFalke fa7da0617c
qa: Check specific reject reasons in feature_block
6 years ago
MarcoFalke fa9ed38d57
test_node: get_mem_rss fixups
6 years ago
practicalswift 590a57fdec tests: Remove unused testing code
6 years ago
Wladimir J. van der Laan 024816d6cf
Merge #14522: tests: add invalid P2P message tests
6 years ago
James O'Beirne 62f94d39f8 tests: add P2PConnection.send_raw_message
6 years ago
James O'Beirne 5aa31f6ef2 tests: add utility to assert node memory usage hasn't increased
6 years ago
John Newbery 3fd7e76f6d [tests] Move deterministic address import to setup_nodes
6 years ago
Wladimir J. van der Laan b312579c69
Merge #14454: Add SegWit support to importmulti
6 years ago
MarcoFalke fa78a2fc67
[tests] Test that nodes respond to getdata with notfound
6 years ago
MeshCollider 353c064596 Fix typo in test_framework/blocktools
6 years ago
MarcoFalke 3668bb335c
Merge #14468: [wallet] Deprecate generate RPC method
6 years ago
John Newbery aab81720de [tests] Add generate method to TestNode
6 years ago
James O'Beirne 94e21c1501 test: forward timeouts properly in send_blocks_and_test
6 years ago
MarcoFalke d12e3d9acc
Merge #14324: qa: Run more tests with wallet disabled
6 years ago
Chun Kuan Lee 62c304ea48 tests: Allow closed http server in assert_start_raises_init_error
6 years ago
practicalswift db01839361 test: Add missing call to skip_if_no_cli()
6 years ago
MarcoFalke b88dd7c2db
Merge #12246: Bugfix: Only run bitcoin-tx tests when bitcoin-tx is enabled
6 years ago
MarcoFalke edcf29c9da
Merge #14305: Tests: enforce critical class instance attributes in functional tests, fix segwit test specificity
6 years ago
Justin Turner Arthur 3a4449e9ad Strictly enforce instance attrs in critical functional test classes.
6 years ago
MarcoFalke faa4043c66
qa: Run more tests with wallet disabled
6 years ago
MarcoFalke 990fc0de1a
Merge #14007: tests: Run functional test on Windows and enable it on Appveyor
6 years ago
sanket1729 0ca4c8b3c6 Changed functional tests which do not require wallets to run without
6 years ago
Chun Kuan Lee 2148c36b6e tests: Make it possible to run functional tests on Windows
6 years ago
Wladimir J. van der Laan f09bc7ec98
Merge #12493: [wallet] Reopen CDBEnv after encryption instead of shutting down
6 years ago
MarcoFalke efb11d7c05
Merge #14179: qa: Fixups to "Run all tests even if wallet is not compiled"
6 years ago
MarcoFalke e413c2ddd1 qa: Fix codespell error and have lint-spelling error instead of warn
6 years ago
Luke Dashjr 92af71cea9 configure: Make it possible to build only one of bitcoin-cli or bitcoin-tx
6 years ago
Wladimir J. van der Laan 288ddf4ff5
Merge #14180: qa: Run all tests even if wallet is not compiled
6 years ago
MarcoFalke fac9539836
qa: Run all tests even if wallet is not compiled
6 years ago
MarcoFalke faa669cbcd
qa: Premine to deterministic address with -disablewallet
6 years ago
Wladimir J. van der Laan cb25cd6aa1
Merge #14119: qa: Read reject reasons from debug log, not p2p messages
6 years ago
MarcoFalke adf27b531a
Merge #13954: Warn (don't fail!) on spelling errors. Fix typos reported by codespell.
6 years ago
practicalswift ada356208e Fix typos reported by codespell
6 years ago
Kvaciral 8dfc2f30de Test rpc_help.py failed: Check whether ZMQ is enabled or not.
6 years ago
MarcoFalke fac3e22b18
qa: Read reject reasons from debug log, not p2p messages
6 years ago
MarcoFalke fa782a308d
qa: Use named args in some tests
6 years ago
MarcoFalke 55c18a4530
Merge #14024: qa: Add TestNode::assert_debug_log
6 years ago
MarcoFalke fa3e9f7627
qa: Add TestNode::assert_debug_log
6 years ago
MarcoFalke fa74d3d720
qa: Remove unused deserialization code in msg_version
6 years ago
MarcoFalke fa5099ceb7
p2p: Remove dead code for nVersion=10300
6 years ago
Carl Dong 8845c8aea6 tests: Replace usage of tostring() with tobytes()
6 years ago
MarcoFalke bffb35f876
Merge #13054: tests: Enable automatic detection of undefined names in Python tests scripts. Remove wildcard imports.
6 years ago
practicalswift 68400d8b96 tests: Use explicit imports
6 years ago
MarcoFalke b8eb0dfde4
Merge #13928: qa: blocktools enforce named args for amount
6 years ago
Kvaciral 5654efb187 Ported usage of deprecated optparse module to argparse module
6 years ago
MarcoFalke 1b04b55f2d
Merge #13867: qa: Make extended tests pass on native Windows
6 years ago
MarcoFalke a04888a075
Merge #13915: [qa] Add test for max number of entries in locator
6 years ago
MarcoFalke fa85c985ed
qa: Add p2p_invalid_locator test
6 years ago
Andrew Chow c1dde3a949 No longer shutdown after encrypting the wallet
6 years ago
MarcoFalke cf9ed307e6
qa: blocktools enforce named args for amount
6 years ago
MarcoFalke f66e1c793e
Merge #13669: Tests: Cleanup create_transaction implementations
6 years ago
MarcoFalke 8ac7125d59
Merge #13916: qa: wait_for_verack by default
6 years ago
Conor Scott 736f941424 [Tests] Cleanup extra instances of create_transaction
6 years ago
Conor Scott 157651855f [Tests] Rename create_tx and move to blocktools.py
6 years ago
MarcoFalke fa5587fe71
qa: wait_for_verack by default
6 years ago
Wladimir J. van der Laan 78dae8cacc
Merge #13780: 0.17: Pre-branch maintenance
6 years ago
MarcoFalke faabd7bc47
qa: Use files for stdout/stderr to support Windows
6 years ago
MarcoFalke fada8966c5
qa: Close stdout and stderr file when node stops
6 years ago
Wladimir J. van der Laan 489b51b08e
Merge #13823: qa: quote path in authproxy for external multiwallets
6 years ago
MarcoFalke fa67505e1e
qa: Quote wallet name for rpc path
6 years ago
MarcoFalke fa5b440971
qa: Extract rpc_timewait as test param
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
Daniel Kraft 64b9f27e0e Skip is_closing() check when not available.
6 years ago
Wladimir J. van der Laan c575260f80
Merge #11637: p2p: Remove dead service bits code
6 years ago
Wladimir J. van der Laan 6b6e854362
Merge #9662: Add createwallet "disableprivatekeys" option: a sane mode for watchonly-wallets
6 years ago
marcoagner ea5340c9d2
tests: fixes mininode's P2PConnection sending messages on closing transport
6 years ago
Jonas Schnelli a3fa4d6a6a
QA: Fix bug in -usecli logic that converts booleans to non-lowercase strings
6 years ago
James O'Beirne a0b604c166 [tests] skip rpc_zmq functional test when python3 zmq lib is not present
6 years ago
MarcoFalke fa4bf92be9
Remove dead service bits code
6 years ago
Wladimir J. van der Laan 7e74c54fed
Merge #13452: rpc: have verifytxoutproof check the number of txns in proof structure
6 years ago
MarcoFalke fa87da2f17
qa: Avoid start/stop of the network thread mid-test
6 years ago
MarcoFalke fa1eac9cdb
[qa] mininode: Expose connection state through is_connected
6 years ago
Suhas Daftuar d280617bf5 [qa] Add a test for merkle proof malleation
6 years ago
practicalswift 634bd97001 Explicitly specify encoding when opening text files in Python code
7 years ago
MarcoFalke fa8071a098
qa: Log as utf-8
7 years ago
MarcoFalke fa26cf0156
qa: Fixup setting of PATH env var
7 years ago
MarcoFalke f3e747ee77
Merge #13201: [qa] Handle disconnect_node race
7 years ago
Suhas Daftuar 09c6699900 [qa] Handle disconnect_node race
7 years ago
Suhas Daftuar 08ebdba82a [qa] Avoid printing to console during cache creation
7 years ago
John Newbery beee49ba1f [tests] Allow stderr to be tested against specified string
7 years ago
John Newbery e5036715c8 [Tests] Use LIBC_FATAL_STDERR_=1 in tests
7 years ago
John Newbery c22ce8a7b8 [Tests] Write stdout/stderr to datadir instead of temp file.
7 years ago
Wladimir J. van der Laan 4a50ec0efd
Merge #13188: qa: Remove unused option --srcdir
7 years ago
Wladimir J. van der Laan 1834d4d9f0
Merge #12265: [test] fundrawtransaction: lock watch-only shared address
7 years ago
MarcoFalke fac1e1f3b2
qa: Remove unused option --srcdir
7 years ago
Wladimir J. van der Laan 8d045a0f66
Merge #13003: qa: Add test for orphan handling
7 years ago
Wladimir J. van der Laan e074097c1b
Merge #13051: qa: Normalize executable location
7 years ago
MarcoFalke fa02c5b38b
qa: Clarify documentation for send_txs_and_test
7 years ago
Wladimir J. van der Laan 896a9d026c
Merge #13022: [qa] Attach node index to test_node AssertionError and print messages
7 years ago
MarcoFalke fa811b0b1d
qa: Normalize executable location
7 years ago
John Newbery 4d355bfb2b [tests] tidy up blocktools.py
7 years ago
John Newbery cab8be5adf [tests] Fix flake8 warnings in blocktools.py
7 years ago
Jesse Cohen b184127db2 [doc][trivial] no retargeting in regtest mode
7 years ago
James O'Beirne 80a5e59532 [qa] Attach node index to test_node AssertionError and print messages
7 years ago
Evan Klitzke 6a3b0d3d1a Print to console by default when not run with -daemon
7 years ago
MarcoFalke fadfbd33ab
qa: Add test for orphan handling
7 years ago
Wladimir J. van der Laan 4366f61cc9
Merge #11862: Network specific conf sections
7 years ago
MarcoFalke 6a278e0640
Merge #12996: tests: Remove redundant bytes(…) calls
7 years ago
practicalswift 9db48c5634 tests: Remove redundant bytes²
7 years ago
practicalswift f020aca297 Minor Python cleanups to make flake8 pass with the new rules enabled
7 years ago
practicalswift b95f9a61e0 tests: Remove compatibility code not needed now when we're on Python 3
7 years ago
Anthony Towns 8a9817d175 [tests] Use regtest section in functional tests configs
7 years ago
MarcoFalke 727175a08d
Merge #12902: [qa] Handle potential cookie race when starting node
7 years ago
Suhas Daftuar 75d0e4c544 [qa] Delete cookie file before starting node
7 years ago
Wladimir J. van der Laan 27278dffe8
Merge #12856: Tests: Add Metaclass for BitcoinTestFramework
7 years ago
Wladimir J. van der Laan 15c3bb4268
Merge #12904: [qa] Ensure bitcoind processes are cleaned up when tests end
7 years ago
Suhas Daftuar e36a0c0852 [qa] Ensure bitcoind processes are cleaned up when tests end
7 years ago
Karl-Johan Alm 891beb0f8a
[test] fundrawtransaction: lock watch-only shared address
7 years ago
Will Ayd c9cce0a7f6 Tests: Add Metaclass for BitcoinTestFramework
7 years ago
MarcoFalke 9a2db3b3d5
Merge #11818: I accidentally [deliberately] killed it [the ComparisonTestFramework]
7 years ago
MarcoFalke 2106c4c64c
Merge #12853: qa: Match full plain text by default
7 years ago
John Newbery 89fe5feea2 [tests] Stop feature_block.py from blowing up memory.
7 years ago
John Newbery 9c92c8c827 [tests] Remove Comparison Test Framework
7 years ago
Wladimir J. van der Laan 18815b4bfb
Merge #11742: rpc: Add testmempoolaccept
7 years ago
MarcoFalke fa5825d610
Merge #12284: Remove assigned but never used local variables. Enable Travis checking for unused local variables.
7 years ago
MarcoFalke faace13868
qa: Match full plain text by default
7 years ago
MarcoFalke de7e586841
Merge #12810: [Tests] Fix a typo at assert_start_raises_init_error() and use specific exception for initialization error
7 years ago
practicalswift 169f3e8637 Remove assigned but never used local variables
7 years ago
Wladimir J. van der Laan f0f9732d05
Merge #11773: [tests] Change feature_block.py to use BitcoinTestFramework
7 years ago
Roman Zeyde 8394300859
[Tests] fix a typo in TestNode.assert_start_raises_init_error()
7 years ago
MarcoFalke b55555da3e
rpc: Add testmempoolaccept
7 years ago
Wladimir J. van der Laan 6d36f599f8
Merge #12076: qa: Use node.datadir instead of tmpdir in test framework
7 years ago
Wladimir J. van der Laan 185d48473e
Merge #12718: [Tests] Require exact match in assert_start_raises_init_eror (jnewbery)
7 years ago
MarcoFalke 4ad3b3c72c
Merge #12716: Fix typos and cleanup in various files
7 years ago
Dimitris Apostolou 4d9b4256d8 Fix typos
7 years ago
MarcoFalke fae137454a
qa: Allow for partial_match when checking init error
7 years ago
John Newbery 728667b771 scripted-diff: rename TestNode to TestP2PConn in tests
7 years ago
John Newbery 265d7c44b1 [tests] Improve assert message when wait_until() fails
7 years ago
MarcoFalke c8330d4216 qa: Use node.datadir instead of tmpdir in test framework
7 years ago
John Newbery 58122736b5 [Tests] Require exact match in assert_start_raises_init_eror()
7 years ago
John Newbery 0ec08a672d [Tests] Move assert_start_raises_init_error method to TestNode
7 years ago
Ben Woosley 81b0822772
test: Use wait_until in tests where time was used for polling
7 years ago
Wladimir J. van der Laan ce6ffe196e
Merge #12638: qa: Cache only chain and wallet for regtest datadir
7 years ago
Wladimir J. van der Laan 0f0229d0c3
Merge #12643: [qa] util: Remove unused sync_chain
7 years ago
MarcoFalke fa1436c429
[qa] util: Remove unused sync_chain
7 years ago
practicalswift a7324bd799 Format timestamps using ISO 8601 formatting (e.g. "2018-02-28T12:34:56Z")
7 years ago
MarcoFalke fa2310572f
qa: Cache only chain and wallet for regtest datadir
7 years ago
MarcoFalke 791c3ea61b
Merge #12627: qa: Fix some tests to work on native windows
7 years ago
Wladimir J. van der Laan 0f7167989d
Merge #12482: [tests] bind functional test nodes to 127.0.0.1
7 years ago
MarcoFalke fa3528a85b
qa: Fix some tests to work on native windows
7 years ago
Sjors Provoost b156ff7c30
[tests] bind functional test nodes to 127.0.0.1
7 years ago
Wladimir J. van der Laan 07d2d2a21c
Merge #12475: qa: Fix python TypeError in script.py
7 years ago
Wladimir J. van der Laan 5c2aff8d95
Merge #10387: Eventually connect to NODE_NETWORK_LIMITED peers
7 years ago
MarcoFalke 07090c5339
Merge #12443: qa: Move common args to bitcoin.conf
7 years ago
Wladimir J. van der Laan 8c33961313
Merge #12486: [test] Round target fee to 8 decimals in assert_fee_amount
7 years ago
Karl-Johan Alm 42e1b5d979
[test] Round target fee to 8 decimals in assert_fee_amount
7 years ago
MarcoFalke fa41d68a2e
qa: Fix python TypeError in script.py
7 years ago
Andrew Chow eefff65a4b scripted-diff: change signrawtransaction to signrawtransactionwithwallet in tests
7 years ago
Andrew Chow 1e79c055cd Split signrawtransaction into wallet and non-wallet
7 years ago
Jonas Schnelli 8a98dfeebf
Merge #10583: [RPC] Split part of validateaddress into getaddressinfo
7 years ago
John Newbery df47afb600 Revert "[tests] bind functional test nodes to 127.0.0.1"
7 years ago
Andrew Chow b22cce0148 scripted-diff: validateaddress to getaddressinfo in tests
7 years ago
MarcoFalke face7220b7
qa: Move common args to bitcoin.conf
7 years ago
Wladimir J. van der Laan d09968f4d0
Merge #12200: Bind functional test nodes to 127.0.0.1
7 years ago
Wladimir J. van der Laan 2dbc4a4740
Merge #11771: [tests] Change invalidtxrequest to use BitcoinTestFramework
7 years ago
Wladimir J. van der Laan b4d85490f0
Merge #11858: qa: Prepare tests for Windows
7 years ago
Jonas Schnelli 158e1a6f0f
[QA] fix mininode CAddress ser/deser
7 years ago
John Newbery c32cf9f622 [tests] Add P2PDataStore class
7 years ago
John Newbery cc046f66a7 [tests] Reduce NodeConn connection logging from info to debug
7 years ago
practicalswift 1340eda3b7 Fix typos
7 years ago
MarcoFalke faefd2923a
qa: Prepare functional tests for Windows
7 years ago
MarcoFalke 126000ba9e
Merge #12089: qa: Make TestNodeCLI command optional in send_cli
7 years ago
MarcoFalke fae7b14a04 qa: Make TestNodeCLI command optional in send_cli
7 years ago
MarcoFalke ffffb10a9f qa: Rename cli.args to cli.options
7 years ago
Russell Yanofsky ec527c6c88 Don't allow relative -walletdir paths
7 years ago
MarcoFalke fa1e69e52b qa: Sync with validationinterface queue in sync_mempools
7 years ago
Sjors Provoost 65682da7e5
[tests] bind functional test nodes to 127.0.0.1
7 years ago
Wladimir J. van der Laan 4db16ec827
Merge #11796: [tests] Functional test naming convention
7 years ago
MarcoFalke b7450cdbd8
Merge #11970: Add test coverage for bitcoin-cli multiwallet calls
7 years ago
Jonas Schnelli d889c036cd
Merge #11403: SegWit wallet support
7 years ago
Pieter Wuille 57273f2b30 [test] Serialize CTransaction with witness by default
7 years ago
John Newbery f6ade9ce1a [tests] allow tests to be run with --usecli
7 years ago
Russell Yanofsky ff9a363ff7 TestNodeCLI batch emulation
7 years ago
Russell Yanofsky ca9085afc5 Prevent TestNodeCLI.args mixups
7 years ago
Russell Yanofsky fcfb952bca Improve TestNodeCLI output parsing
7 years ago
Anthony Towns 5fecd842a6 [tests] Remove redundant import in blocktools.py test
7 years ago