Ben Woosley
0e98f96e42
test: Use wait_until in tests where time was used for polling
...
Github-Pull: #12553
Rebased-From: 81b0822772169cb697b5994f49398e619d61a12d
6 years ago
Ben Woosley
1286f3e49a
test: Use wait_until to ensure ping goes out
...
Intermittent failure evident here:
https://travis-ci.org/bitcoin/bitcoin/jobs/344021180
Github-Pull: #12545
Rebased-From: 0eb84f30d80847b7392ad42b2d916eaf5923a63c
6 years ago
Anthony Towns
81b79f2c39
[tests] Rename rpc_* functional tests.
7 years ago
John Newbery
47ba8cf71e
scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error
...
-BEGIN VERIFY SCRIPT-
sed -i 's/assert_raises_jsonrpc/assert_raises_rpc_error/g' test/functional/*py test/functional/test_framework/*py
-END VERIFY SCRIPT-
7 years ago
John Newbery
5448a1471d
[tests] don't override __init__() in individual tests
...
Almost all test scripts currently need to override the __init__()
method. When they do that they need to call into super().__init__() as
the base class does some generic initialization.
This commit makes the base class __init__() call into set_test_params()
method. Individual test cases can override set_test_params() to setup
their test parameters.
7 years ago
klemens
f42fc1d508
doc: spelling fixes
7 years ago
Wladimir J. van der Laan
3457331386
test: Add test for `getpeerinfo` `bindaddr` field
7 years ago
John Newbery
53f6775fe1
fixup: fix nits
7 years ago
John Newbery
d8c218f9c2
[tests] Functional tests call self.start_node(s) and self.stop_node(s)
...
This commit changes the individual test scripts to call the
start_node(s) and stop_node(s) methods in BitcoinTestFramework.
7 years ago
practicalswift
0c60c63de0
Remove unused Python imports
7 years ago
John Newbery
c9cc76dcaa
[tests] Remove is_network_split from funtional test cases
7 years ago
Jimmy Song
85f950a5c4
[test] Add tests for getconnectioncount, getnettotals and ping
...
* Split run_test into 4 separate tests
* Add 2 tests, getconnectioncount and getnettotals
* getnettotals - Strategy of test is to get the network stats before and after a ping. The difference in bytes sent/received is the bytes needed for a ping/pong.
7 years ago
Jimmy Song
bc53752616
Tests: Add simple test for getaddednodeinfo
...
* net.py test adds a node and sees if it's in the getaddednodeinfo call
* flake8 fixes
7 years ago
practicalswift
b8d9a86dc3
Remove unused import
7 years ago
MarcoFalke
fa697b7192
[qa] Add setnetworkactive smoke test
7 years ago