Commit Graph

2070 Commits

Author SHA1 Message Date
175bb329e4 Expose EventSwitch on top of websocket client 2017-02-24 19:15:22 +01:00
9be3064904 Expose and test EventSwitch in client.Local 2017-02-24 17:51:19 +01:00
98450ee2db Client: DumpConsensusState, not DialSeeds. Cleanup 2017-02-24 17:05:15 +01:00
931af6a072 Combine local and http into client package, unify tests with table-driven tests 2017-02-24 17:05:15 +01:00
202146e4ce Fix up checktx/delivertx in broadcastTx(A)sync 2017-02-24 17:05:15 +01:00
9693795c4c Move common code to merkleeyes/testutil 2017-02-24 17:05:15 +01:00
cd9ee9d84b cleanup 2017-02-24 17:05:15 +01:00
42a9b847ec Make all client tests safe to run in parallel 2017-02-24 17:05:15 +01:00
d92a5b1074 Reworked WaitForHeight to avoid race conditions 2017-02-24 17:05:14 +01:00
f7f7cf576a Fix race condition in websocket event listening 2017-02-24 17:05:14 +01:00
26f4b5c98e Clean up package names 2017-02-24 17:05:14 +01:00
70f19e809b Add MockStatus, WaitForHeight helper 2017-02-24 17:05:14 +01:00
0905332f1d MockClient for real abci app 2017-02-24 17:05:14 +01:00
df172fa840 Provide mock interfaces for calling abci app over tendermint rpc 2017-02-24 17:05:14 +01:00
ce044dbb76 Extracted Clients into a consistent interface, fixed type issue in http.Client 2017-02-24 17:05:14 +01:00
7c26be3242 Begin implementation of local client 2017-02-24 17:05:13 +01:00
bf1ee89b27 Moved httpclient into subpackage 2017-02-24 17:05:13 +01:00
a0bdae4f9c Added missing pkg/errors dependency 2017-02-24 17:05:13 +01:00
64feaa05f4 Full test coverage for rpc client 2017-02-24 17:05:13 +01:00
5ea3f24304 test info 2017-02-24 17:05:13 +01:00
c9d36cd713 Add dependencies, pull out HTTPClient test code 2017-02-24 17:05:13 +01:00
2c75c9daf9 Clean up tests, remove panics 2017-02-24 17:05:12 +01:00
d971416d12 collision merge of light-client code 2017-02-24 17:05:12 +01:00
1f1dcead3d [Vagrantfile] go 1.8 and permissions fix 2017-02-24 13:31:27 +04:00
d38a6e329f verbose output when get_deps 2017-02-24 13:30:46 +04:00
f73f53c486 [Dockerfile.develop] fix error "/bin/sh: #: not found" when building 2017-02-23 12:17:20 +04:00
b8279d424c Merge pull request #414 from tendermint/ci
Ci
2017-02-21 15:17:16 -05:00
98a509ed97 Merge pull request #373 from melekes/bugfix/174-peer-send-failures-are-not-checked
Check `peer.Send` failures
2017-02-21 15:00:50 -05:00
7c1e79cbc5 test/persists: wait for tendermint proc 2017-02-21 14:14:08 -05:00
7fab31fbe3 test: more logging 2017-02-21 11:18:40 -05:00
2c724d5eee remove warning messages in favor of "Send failed" 2017-02-21 13:25:16 +04:00
6dbe9febce log warning if peer send failed (Refs #174)
make lint happy

remove dead code

remove not needed go-common dependency

check peer.Send failures (Refs #174)
2017-02-21 11:57:33 +04:00
d754d210cd test: only use syslog on circle 2017-02-21 01:28:58 -05:00
62adbe69ff Merge pull request #413 from tendermint/ci
test: forward CIRCLECI var through docker
2017-02-20 23:11:22 -05:00
f3da6d23cb test: forward CIRCLECI var through docker 2017-02-20 22:53:14 -05:00
a4d5ec491e Merge pull request #411 from tendermint/bugfix/init-should-not-overwrite-existing-files
do not overwrite existing files when doing `tendermint init`
2017-02-20 22:03:22 -05:00
bed86da8ae Merge pull request #408 from tendermint/mock_app
handshake replay through consensus using mockApp
2017-02-20 22:01:26 -05:00
0c4b6cd071 consensus: more handshake replay tests 2017-02-20 21:45:53 -05:00
f9df4294f3 move some interfaces to types/services.go 2017-02-20 20:09:15 -05:00
0765613778 move handshake to consensus package 2017-02-20 19:52:36 -05:00
1fa6e7f3b1 test: shellcheck 2017-02-20 18:51:00 -05:00
2b1b8da58d test/persist: dont use log files on circle 2017-02-20 18:41:29 -05:00
756213c5f5 check appHash 2017-02-20 17:08:38 -05:00
bc67859672 make ReplayBlocks logic exhaustive 2017-02-20 16:32:48 -05:00
a99885cd43 do not overwrite existing files when doing tendermint init (Fixes #410) 2017-02-20 11:14:27 +04:00
44d472ddd3 comments from review 2017-02-18 22:15:59 -05:00
7228b11e3f state: remove StateIntermediate 2017-02-17 19:13:35 -05:00
0bec99fbd4 consensus: handshake replay test using wal 2017-02-17 19:12:05 -05:00
3c5adebcd3 applyBlock to simplify replay of many blocks. still wip 2017-02-17 11:32:56 -05:00
edc5e272db consensus: nice error msg if ApplyBlock fails 2017-02-17 10:57:09 -05:00