Commit Graph

56 Commits

Author SHA1 Message Date
Jude Nelson
1c42c90905 add a primitive Web interface to the integration test framework, and HTTP-level programmatic control 2017-06-19 23:26:45 -04:00
Jude Nelson
26be02254d Merge pull request #413 from kantai/regtest-with-portal
Changes to the integration testing which allow easier setup for portal testing.
2017-05-08 17:22:44 -05:00
Aaron Blankstein
33eb6e0a22 allow for selecting test client port 2017-05-04 09:25:11 -04:00
Jude Nelson
0a2f002158 remove old get_started.sh script 2017-05-03 15:18:08 -04:00
Jude Nelson
62f9b6d4ba remove dead code 2017-04-27 19:35:23 -04:00
Jude Nelson
7ffab047da better debug output when filling wallets 2017-04-24 20:12:02 -04:00
Jude Nelson
9b76f1ac91 use virtualchain's tx serializer UTXO format 2017-04-20 17:46:33 -04:00
Jude Nelson
3812ae905b include netlog server requirements; bump version 2017-04-17 15:38:11 -04:00
Jude Nelson
468cf1fd5f print test finished before loading db 2017-04-05 11:21:50 -04:00
Jude Nelson
a1b6d2912c more robust for failed connections 2017-03-30 17:13:55 -04:00
Jude Nelson
0314db1207 time out after 30 seconds if we can't connect to bitcoind 2017-03-30 16:29:56 -04:00
Jude Nelson
f63510ea87 use consistent API password 2017-03-30 11:59:16 -04:00
Jude Nelson
ced4d4538c graceful shutdown on SIGINT 2017-03-29 01:02:07 -04:00
Jude Nelson
f974dcaf98 clean up 'test' storage driver between test runs 2017-03-23 18:55:57 -04:00
Jude Nelson
fdb5211ab6 start/stop GC thread; skip data URL tests for now (will probably remove this feature) 2017-03-15 18:12:45 -04:00
Jude Nelson
f1a1d85f66 use new spv_path instead of blockchain_headers in test framework 2017-03-09 20:05:58 -05:00
Jude Nelson
13a3929f4b interface synchronization 2017-02-20 21:17:11 -05:00
Jude Nelson
6700f5b5ce add spv path 2017-02-10 18:57:07 -05:00
Jude Nelson
80ec83e02c WIP: expand test-runner to include storage gateway configuration flags and to do a get-URL test at the end of each test 2017-01-30 01:45:03 -05:00
Jude Nelson
61cdae7072 add storage_drivers_local config option (empty in the test environment) 2017-01-18 18:51:04 -05:00
Jude Nelson
8ebae15d2e add paths for users and accounts in the test config file; clear disk storage on each test 2016-12-21 19:02:17 -05:00
Jude Nelson
2917e66bdc keep track of client account state and datastore state 2016-12-02 12:45:19 -05:00
Jude Nelson
95ebd0af1f start/stop storage pusher 2016-11-21 18:12:37 -05:00
Jude Nelson
303d6feefc on history or SNV failure, stop the bitcoin daemon and network
facilities.  also, allow multi-line outputs when probing for the test
path name.
2016-10-25 19:56:06 -04:00
Jude Nelson
4fe7fb15c1 if the scenario() method returns False, then the test fails 2016-10-05 14:43:35 -04:00
Jude Nelson
794375d078 don't call db_refresh for 0.14.0 and later 2016-10-03 00:16:10 -04:00
Jude Nelson
4d02f27498 use proper arg-parsingt 2016-09-30 12:38:51 -04:00
Jude Nelson
1a629e382c we're in epoch 1 by default 2016-09-29 12:24:52 -04:00
Jude Nelson
1e7ea12efe stop RPC and bitcoin regtest daemon on scenario check exception 2016-09-13 16:32:12 -04:00
Jude Nelson
c2bb622e4c clean up path detection and environment variable parsing 2016-09-12 17:58:06 -04:00
Jude Nelson
7c067fbe6e add a "pragma" feature to tests: if the string "TEST ENV key value"
occurs at any line, then parse it to set environment variable $key to
the given value.  Used to allow tests to set custom config fields
2016-09-09 16:52:14 -04:00
Jude Nelson
65224fec3c re-work test framework to flush and reload db on each block (as would
happen in 0.13)
2016-09-07 13:46:04 -04:00
Jude Nelson
73f2ef30e9 open the database in the appropriate places 2016-09-02 00:07:32 -04:00
Jude Nelson
15a2323e11 update test runner to properly shut down bitcoin and rpc, and to abort
if threads don't respond
2016-08-30 20:19:48 -04:00
Jude Nelson
a222f62562 start/stop atlas nodes in the main test thread 2016-08-30 00:36:08 -04:00
Jude Nelson
781a9d1065 version 0.14.0, not 0.0.14.0. Also, enable atlas network simulator 2016-08-26 18:44:56 -04:00
Jude Nelson
5767b63012 start/stop atlas logic in each test; verify atlas db against known
zonefiles at the end of each test
2016-08-24 17:46:44 -04:00
Jude Nelson
7116d2d3ed remove dead code 2016-08-18 18:34:25 -04:00
Jude Nelson
3c74c91652 remove virtualchain workpool logic; ping the bitcoin daemon over and
over to drive responses to getdata p2p requests
2016-08-10 16:43:20 -04:00
Jude Nelson
17d9bdc4b5 load multisig wallets if given in the test scenario. also, make the
default wallet a multisig address
2016-08-06 00:23:51 -04:00
Jude Nelson
40abf81c93 don't set a global UTXO client 2016-08-04 15:58:08 -04:00
Jude Nelson
12d96a68b1 use bitcoind -regtest instead of our home-grown mock bitcoind and UTXO
server
2016-08-04 15:52:21 -04:00
Jude Nelson
1ab17e9469 include versions in server and client 2016-07-13 15:43:45 -04:00
Jude Nelson
15e7d249a4 no atlas support while testing 2016-07-12 18:00:38 -04:00
Jude Nelson
7b4fefe9d3 do not report statistics from the test framework; add required profile
replication storage drivers
2016-07-10 14:50:44 -04:00
Jude Nelson
0e1bb75ac2 sync sample config file 2016-06-28 17:00:08 -04:00
Jude Nelson
417b05a1d3 update test runner to be compatible with client API changes 2016-06-15 16:37:52 -04:00
Jude Nelson
fe67e86797 WIP: less bitcoin-specific 2016-06-09 03:20:36 -04:00
Jude Nelson
db78109655 accept alternative storage drivers from the environment 2016-05-23 17:15:09 -04:00
Jude Nelson
0184388241 enable more tests in the client 2016-05-11 17:55:52 -04:00