Commit Graph
8961 Commits
Author SHA1 Message Date
Jae KwonandEthan Buchman 0d82d26408 Frist commit on types.proto 2017-01-12 14:50:08 -05:00
Ethan Buchman e7a12f8e38 cs.Wait() 2017-01-12 14:44:42 -05:00
Ethan Buchman 2337086736 use mtx in OnStop 2017-01-12 14:32:48 -05:00
Ethan Buchman 0525e8ed5c rearrange common_test.go; EnsureDir for privVal 2017-01-12 12:38:09 -05:00
Ethan Buchman 1d091bafe9 update glide 2017-01-12 11:00:43 -05:00
Ethan Buchman 814ef37f75 fix tests 2017-01-12 10:58:44 -05:00
Ethan Buchman 94fed25975 fix test 2017-01-12 10:22:23 -05:00
Ethan Buchman 56341de5eb Merge remote-tracking branch 'mappum/rpc-tests' into unstable 2017-01-12 02:46:10 -05:00
Ethan Buchman 3c589dac19 startConsensusNet and stopConsensusNet 2017-01-12 02:29:53 -05:00
Ethan BuchmanandGitHub a7b7fe83d6 Merge pull request #46 from tendermint/updates
Updates
2017-01-12 01:11:11 -05:00
Ethan Buchman 831cb4adcd update glide 2017-01-12 01:08:31 -05:00
Ethan Buchman e6b9a2b6aa response struct and persistent args 2017-01-12 01:04:25 -05:00
rigelrozanskiandEthan Buchman 81b2697cce fix console exit, closes #35 2017-01-12 01:04:25 -05:00
rigelrozanskiandEthan Buchman c31df4081c added counter query support 2017-01-12 01:04:22 -05:00
Ethan BuchmanandGitHub 465c77e120 Merge pull request #43 from mappum/develop
tmsp-cli arg string handling + Make dummy query response values more clear
2017-01-12 00:23:33 -05:00
Ethan Buchman 0eb278ad3b version bump 0.6.0 2017-01-12 00:13:20 -05:00
Ethan BuchmanandGitHub b494cc5219 Merge pull request #5 from mappum/develop
Fix hex string handling
2017-01-12 00:12:11 -05:00
Ethan Buchman 618fce8d32 update glide 2017-01-11 23:47:28 -05:00
Ethan Buchman ce0c638005 little fix 2017-01-11 18:37:36 -05:00
Ethan BuchmanandGitHub 15d3d12098 Merge pull request #342 from akalyaev/feature/update-vagrant-setup
Feature: Update Vagrant setup
2017-01-11 18:03:20 -05:00
Ethan BuchmanandGitHub 76b4a45f98 Merge pull request #360 from tendermint/optional-skip-timeout-commit
Optional skip timeout commit
2017-01-11 18:02:46 -05:00
Anton KalyaevandEthan Buchman 535fc6cd63 test we can make blocks with skip_timeout_commit=false 2017-01-11 18:00:27 -05:00
Anton KalyaevandEthan Buchman 3308ac7d83 set skip_timeout_commit to true for tests
For the tests its better to not use the timeout_commit, and to wait for all the
votes, because otherwise we can end up with timing dependencies in the testing
code which can lead to nondeterministic failures. That was part of the reason
for this change originally.
2017-01-11 18:00:26 -05:00
Anton KalyaevandEthan Buchman a1fd312bb1 make progress asap on full precommit votes optional (Refs #348) 2017-01-11 18:00:26 -05:00
Anton KalyaevandEthan Buchman b096651e10 fix glide error: unable to export dependencies to vendor directory
```
[ERROR] Unable to export dependencies to vendor directory: remove /home/vagrant/go/src/github.com/tendermint/tendermint/vendor/golang.org/x/sys/unix: directory not empty
```
2017-01-11 17:59:05 -05:00
Ethan BuchmanandGitHub 44f939c841 Merge pull request #359 from tendermint/val-set-changes
Val set changes
2017-01-11 17:56:52 -05:00
Ethan Buchman d68cdce2d5 consensus: check HasAll when TwoThirdsMajority 2017-01-11 17:53:46 -05:00
Jae Kwon 43fdc4a1ce Fix #341 2017-01-11 08:57:10 -08:00
Anton KalyaevandEthan Buchman cb2f2b94ee log stages to stdout 2017-01-11 10:35:04 -05:00
Anton KalyaevandEthan Buchman 4722410e5e test validator set changes more extensively 2017-01-11 10:35:04 -05:00
Ethan Buchman 55b4bfa1fe consensus: let time.Timer handle non-positive durations 2017-01-11 10:24:40 -05:00
Matt Bell 4d7aa62a10 Added test for unexpected hex string type HTTP args 2017-01-07 20:40:45 -08:00
Matt Bell 86506cd4f8 Handle quoted and hex string type HTTP args for both 'string' and '[]byte' type function args 2017-01-07 20:40:29 -08:00
Matt Bell 1532879c64 Fixed RPC client tests 2017-01-07 14:35:54 -08:00
Matt Bell af1212897c Exit early in bash tests 2017-01-07 14:00:27 -08:00
Matt Bell 34a806578a Handle hex strings and quoted strings in HTTP params
Use 0x-prefixed hex strings in client

server: Decode hex string args

Encode all string args as 0x<hex> without trying to encode as JSON

Added tests for special string arguments

Fix server handling quoted string args

Added string arg handling test cases to bash test script
2017-01-07 13:59:33 -08:00
Ethan BuchmanandGitHub 12d92fd5db Merge pull request #343 from tendermint/restart_test
Crash/Restart tests
2017-01-06 11:55:05 -08:00
Ethan Buchman bae0bc02a6 consensus: be more explicit when we need to write height after handshake 2017-01-05 20:16:42 -08:00
Matt Bell 4bb65366f4 Update CLI test string args 2017-01-03 19:26:37 -08:00
Matt Bell cd6fa3018c Return errors from cmd functions instead of printing 2017-01-03 10:53:14 -08:00
Matt Bell 86a6deba3f Remove debug printing 2017-01-02 18:49:54 -08:00
Matt Bell e748127b7f Don't include quotes in quoted string args 2017-01-02 18:49:10 -08:00
Matt Bell 115e6939d0 Require quotes or 0x<hex> for string args 2017-01-02 18:28:47 -08:00
Matt Bell ab211d2dbe Include 'value' and 'valueHex' fields in dummy query response 2017-01-02 18:20:30 -08:00
Matt Bell 75ea378a6a Encode dummy query values as hex strings 2017-01-02 18:10:12 -08:00
Jae KwonandGitHub c9b6b6e591 Merge pull request #39 from sjamayee/develop
link to TMSP Blog post
2017-01-02 12:37:48 -08:00
Jae KwonandGitHub b0a17b1804 Fix blog link 2017-01-02 12:12:23 -08:00
Anton Kalyaev 99974ddc8b update vagrant setup
I am in favor of docker, but people say that running docker containers
inside another container is bad.

Things included in provision:

- docker (latest)
- jq
- curl
- shellcheck
- golang 1.7
- glide
2016-12-26 21:21:06 +04:00
Ethan Buchman f30a9752e2 more fixes from review 2016-12-23 11:11:22 -05:00
Ethan Buchman c90985d309 test: set log_level=info 2016-12-22 22:25:47 -05:00