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.
 
 
 
 
 
 
Erik Grinaker 090afe30f9
test: add basic end-to-end test cases (#5450)
4 years ago
..
app migrate all JSON to new JSON encoder (#4975) 5 years ago
docker bump go version (#5070) 5 years ago
e2e test: add basic end-to-end test cases (#5450) 4 years ago
p2p consensus: double-sign risk reduction (ADR-51) (#5147) 4 years ago
persist Switch ports 466xx to 266xx (#1735) 7 years ago
README.md consensus: double-sign risk reduction (ADR-51) (#5147) 4 years ago
test_cover.sh tools: Remove redundant grep -v vendors/ (#1996) 7 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 with 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
    • kvstore 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 kvstore 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
    • restart each nodes with double_sign_check_height and ensure panic if the same consensus key was used to sign in double_sign_check_height blocks