You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ethan Buchman d9c87a21a6 run metalinter in make test and run_test.sh 7 years ago
..
app use stdlib context 7 years ago
docker update Go version to 1.9.2 7 years ago
net rename tmbase image to tendermint 8 years ago
p2p unescape $NODE_FLAGS (see comment) 7 years ago
persist test: update for abci-cli consolidation. shell formatting 7 years ago
utils test: only use syslog on circle 8 years ago
README.md README for local testnets [ci skip] 8 years ago
run_test.sh run metalinter in make test and run_test.sh 7 years ago
test.sh [test_integrations] enable logs from peers by default (Refs #829) 7 years ago
test_cover.sh test: shellcheck 8 years ago
test_libs.sh test: test_libs all use Makefile 8 years ago

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