jl777
4458e675a2
Merge pull request #969 from tonymorony/FSM
...
CC auto-tests changes
2018-11-22 23:01:56 -11:00
Anton Lysakov
3a1f15a5ef
start node is specific now for cryptoconditions tests
2018-11-23 10:57:06 +06:00
Anton Lysakov
572db45f9d
repaired faucet tests by second node adding
2018-11-21 20:46:36 +06:00
Anton Lysakov
ec6811d60f
initial version of multi-nodes testing
2018-11-21 15:55:53 +06:00
miketout
99aeab28f9
Integrate latest Zcash fixes and update for non-latin user names
2018-10-27 20:29:03 -07:00
Eirik Ogilvie-Wigley
882a4f577f
Fix potentially misleading test failures
2018-10-24 13:53:25 -06:00
miketout
644c7445ec
Latest Zcash updates
2018-09-20 13:32:57 -07:00
Homu
379c7439a0
Auto merge of #3479 - Eirik0:rpc-test-cleanup, r=bitcartel
...
Rpc test cleanup
The main purpose of this PR was to inline the method 'wait_for_async_operation_id' from util.py in tests where we were doing this manually. To make it work in all cases, I had to change the method to return the result in the case where the call failed. I also did a bit of general clean up (removing semicolons) in the files which I changed.
2018-09-18 20:05:39 -07:00
miketout
9feb4b9e08
Major updates integration from all upstreams
2018-09-18 14:33:53 -07:00
Eirik Ogilvie-Wigley
5602e1f1a6
Allow passing timeout parameter to wait_and_assert_operationid_status
2018-09-14 18:41:14 -06:00
Eirik Ogilvie-Wigley
4d89d020a6
Remove unneeded semicolons
2018-09-14 18:41:14 -06:00
Eirik Ogilvie-Wigley
611f93244b
Allow more information to be returned when an async rpc fails
2018-09-14 18:41:14 -06:00
Jack Grigg
8e057ad9ee
qa: Test both Overwinter and Sapling peer management
2018-09-12 12:15:37 +01:00
Jonathan "Duke" Leto
941619eb46
Make the REGTEST AC special in our test suite, so we get a predictable rpc port number
2018-08-11 19:14:51 +02:00
Jonathan "Duke" Leto
700c1fcfc3
Improve error checking on funds argument to faucetfund
2018-08-09 22:54:23 +02:00
Jonathan "Duke" Leto
d48c67574f
Improve faucetaddress tests
2018-08-07 21:45:32 +02:00
Jonathan "Duke" Leto
8d454fb58e
Sleep a bit to give time for regtest komodod to start
2018-08-07 21:32:56 +02:00
Jonathan "Duke" Leto
dcc6cdb083
Remove reference to REGTEST.conf in start_node which all tests use, not just CC tests. it is passed via extra_args
2018-08-07 21:24:33 +02:00
Jonathan "Duke" Leto
eb8f0960e1
Fix some docs and references to bitcoind
2018-08-07 21:23:05 +02:00
Jonathan "Duke" Leto
38a2d0c825
Pass along extra_args correctly to get correct rpc user/pass
2018-08-07 20:57:42 +02:00
Jonathan "Duke" Leto
3528faa711
Use correct rpc user/pass; this only works the second time its run, some kind of timing/caching issue
2018-08-07 20:51:12 +02:00
Jonathan "Duke" Leto
626af0e73e
Getting closer, invalid rpc user/pass instead of wrong port
2018-08-07 20:13:32 +02:00
Jonathan "Duke" Leto
5ec4373ca4
More debugging trying to make getblockcount work and not have komodod hang the test
2018-08-07 09:22:40 +02:00
Jonathan "Duke" Leto
32829f6d6f
Fix various test suite bugs and create CC AC in our tests
2018-08-07 08:13:18 +02:00
Jonathan "Duke" Leto
f4cdde0e85
Enable txindex in regtest komodo.confs and update binary in initialize_chain
2018-08-06 08:09:15 -07:00
Jonathan "Duke" Leto
3ccd5a79e5
Look for the correct config file in our tests
2018-08-06 00:43:31 -07:00
Larry Ruane
c0aa34a4b2
generalize mininode.py protocol versioning
2018-08-02 20:30:20 -06:00
Eirik Ogilvie-Wigley
a81b36d267
Add more options when asserting in RPC tests
2018-05-04 09:38:36 -06:00
Jack Grigg
3fe2f3d143
Update -enforcenodebloom RPC test with filterclear vs filteradd
2018-04-05 01:30:38 +01:00
Jack Grigg
b77e46fe01
Add RPC test for -enforcenodebloom
2018-04-05 01:30:38 +01:00
Jack Grigg
10e97b8f00
test: Add missing Overwinter fields to mininode's CTransaction
2018-04-04 22:49:49 +01:00
Daira Hopwood
697140ede5
Add support for Overwinter v3 transactions to mininode framework.
2018-04-04 00:01:23 +01:00
Jack Grigg
b7caaf954b
test: Move wait_and_assert_operationid_status debug output before asserts
...
Otherwise we don't see them for failed tests :)
2018-03-19 14:00:18 +01:00
Simon
b6e5cc7d27
Add python qa test overwinter_peer_management.
2018-02-23 14:22:43 -08:00
Jack Grigg
57e6ecda5a
Implement roll-back limit for reorganisation
...
Closes #713 .
2018-02-19 16:32:42 +00:00
Per Grön
d4ab94a6d9
Print result of RPC call in test only when PYTHON_DEBUG is set
2017-12-16 19:24:25 +01:00
Per Grön
8993edfb77
Deduplicate test utility method wait_and_assert_operationid_status
...
Strictly speaking this is not a true deduplication; the test output will be
slightly different (due to inconsistent print statements) but I think this is
close enough.
2017-12-16 19:24:25 +01:00
Jack Grigg
c10c40779d
[Test] MiniNode: Implement Zcash coinbase
2017-10-05 15:18:53 +01:00
Jack Grigg
7596a4922d
[Test] MiniNode: Coerce OP_PUSHDATA bytearrays to bytes
...
If a bytearray is passed in as part of an iterable, the CScript constructor
fails because b''.join() cannot be used to join a bytearray to a bytes or str in
Python 2.
2017-10-05 15:18:31 +01:00
Jack Grigg
643235859a
[Test] MiniNode: Fix coinbase creation
...
CScriptNum is only used for heights > 16.
2017-10-05 15:18:27 +01:00
Jack Grigg
e68c3ec188
[Test] MiniNode: Use Zcash PoW
...
Equihash solver code extracted from https://github.com/str4d/zcash-pow
RPC tests now require pyblake2 to be installed
2017-10-05 15:15:10 +01:00
Jack Grigg
0de9a481ab
[Test] MiniNode: Update protocol version and network magics
2017-10-05 15:15:10 +01:00
Jack Grigg
31bc3d2581
[Test] MiniNode: Implement Zcash block parsing
2017-10-05 15:15:10 +01:00
Jack Grigg
c47dc872a7
[Test] MiniNode: Implement v2 CTransaction parsing
2017-10-05 15:15:10 +01:00
Jack Grigg
13ca1e8011
[Test] MiniNode: Implement JSDescription parsing
2017-10-05 15:15:06 +01:00
Daira Hopwood
ff0f305497
Cosmetics (trailing whitespace, comment conventions, etc.)
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-22 18:09:05 +01:00
Daira Hopwood
811b36ba80
For unused variables reported by pyflakes, either remove the variable,
...
suppress the warning, or fix a bug (if the wrong variable was used).
refs #2450
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-22 18:09:05 +01:00
Daira Hopwood
aff0bf7fa1
Clean up imports to be pyflakes-checkable. fixes #2450
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-06-22 18:09:04 +01:00
Daira Hopwood
80cbdbc749
Fix an error reporting bug due to BrokenPipeError and ConnectionResetError not existing in Python 2.
...
refs #2263
Signed-off-by: Daira Hopwood <daira@jacaranda.org >
2017-04-14 21:40:30 +01:00
Wladimir J. van der Laan
f3e1770cfb
tests: Disable Tor interaction
...
This is unnecessary during the current tests (any test for Tor
interaction can explicitly enable it) and interferes with the proxy
test.
2017-03-25 20:25:38 +13:00