Commit Graph

75 Commits

Author SHA1 Message Date
Jude Nelson
8856c3aed0 use only disk by default (as we do in develop) 2017-09-29 02:01:15 -04:00
Aaron Blankstein
59488fbc57 a bunch of hacks to try to get integration test framework to work with disk+(gaia_hub or dropbox) 2017-09-29 00:49:38 -04:00
Jude Nelson
b69e05aa82 remove old refreshdb feature 2017-09-29 00:49:36 -04:00
Jude Nelson
5834fa27d8 do not need pybitcoin 2017-09-29 00:49:35 -04:00
Jude Nelson
16ee25cda3 fix force-segwit 2017-09-29 00:49:25 -04:00
Jude Nelson
2f0ea449bb automatically fill segwit wallets and have bitcoind track them (requires bitcoind 0.15) 2017-09-29 00:48:49 -04:00
Jack Zampolin
a91c52ccce small reporting change 2017-09-21 16:05:36 -07:00
Aaron Blankstein
d720dbdcdd Merge branch 'master' into develop 2017-09-19 11:03:45 -04:00
Aaron Blankstein
9031379987 specify rpc-port for bitcoind in regtest mode 2017-09-19 10:53:00 -04:00
Aaron Blankstein
e68b48e552 add BLOCKSTACK_TEST_CLIENT_BIND option, allowing you to connect to the regtest api endpoint from docker 2017-09-18 17:09:52 -04:00
Jack Zampolin
ea8246a48d Fix python error 2017-09-06 18:46:16 -07:00
Jack Zampolin
923e3161e3 Fix python error 2017-09-06 16:16:39 -07:00
Jack Zampolin
b7eb6926d5 Abstract influx logging logic and add writes in a couple of other places to catch errors better 2017-09-06 15:38:31 -07:00
Jack Zampolin
e60fb5d694 Fix reporting bug 2017-09-06 11:54:42 -07:00
Jack Zampolin
5d0c2c60b5 Try kube tests again 2017-09-06 10:28:02 -07:00
Leo Arias
24d2132978 Run integration tests in docker containers both locally and against a cluster 2017-09-06 08:40:27 -07:00
Aaron Blankstein
17d6043731 added integration test for persistent setting of the payment key, fixed bugs that it surfaced 2017-08-17 17:39:31 -04:00
Aaron Blankstein
67454975c2 make zonefile lookups use the same proxy constructor, fix in integrations tests, plus more sophisticated config migration path 2017-08-16 13:23:55 -04:00
Aaron Blankstein
afa1bba856 circleCI build for macOS venv tarball + test scenario gives longer deadline for bitcoind to fail 2017-06-21 10:32:37 -04:00
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