Ethan Buchman
194712fd3b
rpc: wait for rpc servers to be available in tests
7 years ago
Ethan Buchman
30f675aafa
Merge pull request #839 from tendermint/bugfix/pubsub-failures
Fix nondeterministic tests failures related to pubsub
7 years ago
Ethan Buchman
695266e907
Merge pull request #844 from tendermint/bunch-up-p2p.AddrBook-wg-calls
p2p: comment on the wg.Add before go saveRoutine()
7 years ago
Ethan Buchman
3db44dacae
Merge pull request #840 from tendermint/fix/tests
Fix/tests
7 years ago
Emmanuel Odeke
62c1bc0a20
p2p: comment on the wg.Add before go saveRoutine()
Just noticed while auditing the code in p2p/addrbook.go,
wg.Add(1) but no subsequent defer.
@jaekwon and I had a discussion offline and we agreed to
comment about why the code was that way and why
we shouldn't move the wg.Add(1) into .saveRoutine() because
if go a.saveRoutine() isn't started before anyone invokes
a.Wait(), then we'd have raced a.saveRoutine().
7 years ago
Petabyte Storage
3863885c71
WIP: begin parallel refactoring with go-wire Write methods and MConnection
7 years ago
Ethan Buchman
238e2b72ee
Merge pull request #834 from tendermint/829-enable-logs-by-default
Enable logs by default
7 years ago
Ethan Buchman
a65ab3b0e0
Merge pull request #838 from tendermint/docker
docker update || 0.12.0
7 years ago
Ethan Buchman
aba8a8f4fc
consensus: crank timeout in timeoutWaitGroup
7 years ago
Ethan Buchman
0448c2b437
consensus: fix LastCommit log
7 years ago
Ethan Buchman
0ada0cf525
certifiers: test uses WaitForHeight
7 years ago
Anton Kaliaev
7fa12662c4
check whatever we can read from the channel
```
panic: interface conversion: interface {} is nil, not types.TMEventData
goroutine 7690 [running]:
github.com/tendermint/tendermint/consensus.waitForAndValidateBlock.func1(0xc427727620, 0x3)
/go/src/github.com/tendermint/tendermint/consensus/reactor_test.go:292 +0x62b
created by github.com/tendermint/tendermint/consensus.timeoutWaitGroup
/go/src/github.com/tendermint/tendermint/consensus/reactor_test.go:349 +0xa4
exit status 2
FAIL github.com/tendermint/tendermint/consensus 38.614s
```
7 years ago
Anton Kaliaev
bc9c4e8dee
update readme [ci skip]
7 years ago
Anton Kaliaev
8004af2519
update docker readme
7 years ago
Anton Kaliaev
21e87ebc11
update Go version to 1.9.2
7 years ago
Anton Kaliaev
70d8afa6e9
update Dockerfile
7 years ago
Ethan Buchman
847f865438
Merge pull request #836 from tendermint/fix/tests
consensus: make mempool_test deterministic
7 years ago
Ethan Buchman
2cda777900
consensus: make mempool_test deterministic
7 years ago
Anton Kaliaev
432a7276e2
[test_integrations] enable logs from peers by default (Refs #829 )
7 years ago
Anton Kaliaev
533f7c45eb
fix bash linter warnings for atomic_broadcast integration test
7 years ago
Anton Kaliaev
a1cdc2b68a
set logger for peer's MConnection
7 years ago
Ethan Buchman
9c4d533695
Merge pull request #833 from tendermint/fix/consensus-tests
consensus: fix for initializing block parts during catchup
7 years ago
Anton Kaliaev
ad03491ee6
remove duplicated key
7 years ago
Ethan Buchman
4b9dfc8990
consensus: fix for initializing block parts during catchup
7 years ago
Ethan Buchman
a46f64cd1e
Merge pull request #824 from tendermint/bugfix/node_test
rewrite node test to use new pubsub
7 years ago
Anton Kaliaev
b1e7163689
rewrite node test to use new pubsub
7 years ago
Ethan Buchman
c931279960
p2p: some fixes re @odeke-em issues #813,#816,#817
7 years ago
Ethan Buchman
12b25fdf6e
blockchain: add comment in AddPeer. closes #666
7 years ago
Ethan Buchman
c0e2649ed6
Merge pull request #788 from tendermint/feature/548-indexing-tags
new pubsub package
7 years ago
Ethan Buchman
593c127257
rpc/lib/types: RPCResponse.Result is not a pointer
7 years ago
Ethan Buchman
9f6a09277e
Merge pull request #812 from tendermint/808-make-connected-switches
MakeConnectedSwitches: connect first switch to others
7 years ago
Ethan Buchman
dd47884661
Merge pull request #820 from tendermint/790-use-tickers-instead-of-time-Sleep
prefer tickers to time.Sleep
7 years ago
Anton Kaliaev
a01c226dc4
wsConnection: call onDisconnect
7 years ago
Ethan Buchman
47f5e37205
copy RoundState for event
7 years ago
Petabyte Storage
51c9211cf4
add test for MConnection TrySend and Send
7 years ago
Anton Kaliaev
7869e541f6
change MakeConnectedSwitches to not connect to itself
and a test for it
7 years ago
Anton Kaliaev
e0daca5693
fixes from Bucky's review
7 years ago
Ethan Buchman
e8e512f1fa
Merge pull request #815 from tendermint/p2p-readme-tests
P2P: readme and tests
7 years ago
Ethan Buchman
37ce171061
p2p/connetion: remove panics, test error cases
7 years ago
Ethan Buchman
e01986e2b3
p2p: update readme, some minor things
7 years ago
Ethan Buchman
433416fef8
Merge pull request #818 from tendermint/fix/810-stuck-trailing-node
consensus: ensure prs.ProposalBlockParts is initialized. fixes #810
7 years ago
Anton Kaliaev
2d4ad02356
prefer tickers to time.Sleep (Refs #790 )
7 years ago
Ethan Buchman
3b81d3fea4
consensus: ensure prs.ProposalBlockParts is initialized. fixes #810
7 years ago
Anton Kaliaev
e785697a64
connect first switch to others (Refs #808 )
7 years ago
Anton Kaliaev
4ffe9304ba
unsubscribe from all subscriptions on WS disconnect
7 years ago
Anton Kaliaev
b1eec3a5d3
remove test_data/empty_block and test_data/small_blockN
7 years ago
Anton Kaliaev
fcdd30b2d3
fixes from Bucky's review 2
7 years ago
Ethan Buchman
ec87c740a7
Merge pull request #794 from tendermint/243-restart-app-via-os
Kill Tendermint when App dies
7 years ago
Ethan Buchman
6b737d2c1b
Merge pull request #745 from tendermint/test-rpc-server-handlers
rpc/lib/server: add handlers tests for params inclusion
7 years ago
Ethan Buchman
f7f4ba5e90
rpc/lib/server: minor changes to test
7 years ago