tendermint/test
Ethan Frey 3d9ca32e95 Update all config for p2p integration tests 2017-04-21 16:55:38 -04:00
..
app rename TMROOT to TMHOME (Refs #431) 2017-03-27 15:17:10 +04:00
docker test/persist: use unix socket for rpc 2017-03-06 02:42:00 -05:00
net rename tmbase image to tendermint 2017-01-30 11:59:35 +04:00
p2p Update all config for p2p integration tests 2017-04-21 16:55:38 -04:00
persist rename TMROOT to TMHOME (Refs #431) 2017-03-27 15:17:10 +04:00
utils test: only use syslog on circle 2017-02-21 01:28:58 -05:00
README.md README for local testnets [ci skip] 2017-01-28 19:25:28 -05:00
run_test.sh test: fix docker and apps 2017-03-05 20:39:52 -05:00
test.sh test/persist: bump sleep to 5 for bound ports release 2017-03-06 00:32:24 -05:00
test_cover.sh test: shellcheck 2017-02-20 18:51:00 -05:00
test_libs.sh update glide 2017-04-20 17:56:35 -04:00

README.md

Tendermint Tests

The unit tests (ie. the go test s) can be run with make test. The integration tests can be run wtih make test_integrations.

Running the integrations test will build a docker container with local version of tendermint and run the following tests in docker containers:

  • go tests, with --race
    • includes test coverage
  • app tests
    • dummy app over socket
    • counter app over socket
    • counter app over grpc
  • persistence tests
    • crash tendermint at each of many predefined points, restart, and ensure it syncs properly with the app
  • p2p tests
    • start a local dummy app testnet on a docker network (requires docker version 1.10+)
    • send a tx on each node and ensure the state root is updated on all of them
    • crash and restart nodes one at a time and ensure they can sync back up (via fastsync)
    • crash and restart all nodes at once and ensure they can sync back up

If on a release-x.x.x branch, we also run

  • go test for all our dependency libs (test/test_libs.sh)
  • network_testing - benchmark a mintnet based cloud deploy using netmon