Anton Kalyaev
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.
8 years ago
Anton Kalyaev
a1fd312bb1
make progress asap on full precommit votes optional (Refs #348 )
8 years ago
Anton Kalyaev
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
```
8 years ago
Ethan Buchman
44f939c841
Merge pull request #359 from tendermint/val-set-changes
Val set changes
8 years ago
Ethan Buchman
d68cdce2d5
consensus: check HasAll when TwoThirdsMajority
8 years ago
Jae Kwon
43fdc4a1ce
Fix #341
8 years ago
Anton Kalyaev
cb2f2b94ee
log stages to stdout
8 years ago
Anton Kalyaev
4722410e5e
test validator set changes more extensively
8 years ago
Ethan Buchman
55b4bfa1fe
consensus: let time.Timer handle non-positive durations
8 years ago
Matt Bell
1532879c64
Fixed RPC client tests
8 years ago
Ethan Buchman
12d92fd5db
Merge pull request #343 from tendermint/restart_test
Crash/Restart tests
8 years ago
Ethan Buchman
bae0bc02a6
consensus: be more explicit when we need to write height after handshake
8 years ago
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
8 years ago
Ethan Buchman
f30a9752e2
more fixes from review
8 years ago
Ethan Buchman
c90985d309
test: set log_level=info
8 years ago
Ethan Buchman
bd222d6e3c
test: more unique container names
8 years ago
Ethan Buchman
0c01b0ded9
state.State and wal.writeHeight after handshake
8 years ago
Ethan Buchman
e5fb681615
consensus: remove crankTimeoutPropose from tests
8 years ago
Ethan Buchman
c9698e4848
fixes from review
8 years ago
Ethan Buchman
0e7694ca94
state: AppHashIsStale -> IntermediateState
8 years ago
Ethan Buchman
f4e6cf4439
consensus: sync wal.writeHeight
8 years ago
Ethan Buchman
e4921733df
test/persist: use fail-test failure indices
8 years ago
Anton Kalyaev
69a449a073
test/p2p: use PROXY_APP=persistent_dummy
8 years ago
Anton Kalyaev
30328548f7
test/p2p: kill and restart all nodes
8 years ago
Anton Kalyaev
57f3592411
fix 2 errors when running p2p tests more than once
Error #1 :
```
Error response from daemon: network with name local_testnet already exists
```
Fixed by stopping and removing local_testnet containers and removing
the network
Error #2 :
```
docker: Error response from daemon: Conflict. The name "/test_container_basic" is already in use by container a7cd15d479a964675e7f259de4ed852e7dfef85b447514728f437cd0b980a709. You have to remove (or rename) that container to beable to reuse that name..
```
Fixed by adding `--rm` flag.
8 years ago
Anton Kalyaev
1c24031dd2
rename COUNT to ID
8 years ago
Anton Kalyaev
3d47ef9d74
fix typo
8 years ago
Anton Kalyaev
6488894210
add .vagrant to .gitignore
8 years ago
Ethan Buchman
2f0d31b4b6
test: remove codecov patch threshold
8 years ago
Ethan Buchman
b2376058a1
blockchain: thread safe store.Height()
8 years ago
Ethan Buchman
e981ff4e7d
tests: shorten timeouts
8 years ago
Ethan Buchman
b126ca0606
consensus: no internal vars in reactor.String()
8 years ago
Ethan Buchman
40b08f2494
consensus: mv timeoutRoutine into TimeoutTicker
8 years ago
Ethan Buchman
8211fa6ce4
enterNewRound on HasAll
8 years ago
Ethan Buchman
706dd1d6c5
test: dont start cs until all peers connected
8 years ago
Ethan Buchman
6bc3b8dc6d
test: circle artifacts
8 years ago
Ethan Buchman
faf23aa0d4
consensus: TimeoutTicker, skip TimeoutCommit on HasAll
8 years ago
Ethan Buchman
18b3821e06
glide: update go-wire
8 years ago
Ethan Buchman
1bd700ee52
test: automate building consensus/test_data
8 years ago
Ethan Buchman
38783e7fa1
types: SignatureEd25519 -> Signature
8 years ago
Ethan Buchman
dcbb35089f
consensus: wal.Flush() and cleanup replay tests
8 years ago
Ethan Buchman
f33cc3fb3b
Merge pull request #325 from tendermint/sign_bytes
Sign bytes
8 years ago
Ethan Buchman
1b3766d802
types: canonical_json.go
8 years ago
zachary balder
da8b043612
sign bytes w struct literals
8 years ago
Ethan Buchman
ed42f70248
types: benchmark WriteSignBytes
8 years ago
Ethan Buchman
0204d3c6a6
Merge pull request #330 from tendermint/fix_tests
Fix tests
8 years ago
Ethan Buchman
81f91aebc2
test: crank circle timeouts
8 years ago
Ethan Buchman
de6bba4609
test: randConsensusNet takes more args
8 years ago
Ethan Buchman
c3a3cc76d8
Merge pull request #334 from tendermint/release-0.7.4
shame: version bump 0.7.4
8 years ago
Ethan Buchman
74ff489e63
shame: version bump 0.7.4
8 years ago