Callum Waters
e932b469ed
e2e: tweak semantics of waitForHeight ( #6943 )
3 years ago
Sam Kleinman
af71f1cbcb
e2e: load generation and logging changes ( #6912 )
3 years ago
M. J. Fromberger
8f06e0c9e7
cleanup: remove redundant error plumbing ( #6778 )
This is a mostly-automated fixup using Comby (https://comby.dev ) to remove
lexically-obvious redundant error checks. No functional changes are intended.
To reproduce the core change:
# Collapse redundant error check conditionals
% comby -in-place 'if err != nil {
return err
}
return nil' 'return err' .go
# Fold out unnecessary error temporaries
% comby -in-place ':[spc~^\s*]err :[~:?]= :[any]
return err' ':[spc]return :[any]' .go
Fixes #6479 and related cases.
3 years ago
Sam Kleinman
7638235d33
e2e: longer test harness timeouts ( #6728 )
3 years ago
Sam Kleinman
8228936155
e2e: extend timeouts in test harness ( #6694 )
3 years ago
Callum Waters
0566bea8b2
e2e: add benchmarking functionality ( #6210 )
4 years ago
Callum Waters
cab10db725
e2e: adjust timeouts to be dynamic to size of network ( #6202 )
4 years ago
Erik Grinaker
10dda219a1
test: fix handling of start height in generated E2E testnets ( #5563 )
In #5488 the E2E testnet generator changed to setting explicit `StartAt` heights for initial nodes. This broke the runner, which expected all initial nodes to have `StartAt: 0`, as well as validator set scheduling in the generator. Testnet loading now normalizes initial nodes to have `StartAt: 0`.
This also tweaks waiting for misbehavior heights to only use an additional wait if there actually is any misbehavior in the testnet, and to output information when waiting.
4 years ago
Callum Waters
50b91867c3
test: add evidence e2e tests ( #5488 )
4 years ago
Erik Grinaker
250c3aa92e
test: add end-to-end testing framework ( #5435 )
Partial fix for #5291 . For details, see [README.md](https://github.com/tendermint/tendermint/blob/erik/e2e-tests/test/e2e/README.md ) and [RFC-001](https://github.com/tendermint/tendermint/blob/master/docs/rfc/rfc-001-end-to-end-testing.md ).
This only includes a single test case under `test/e2e/tests/`, as a proof of concept - additional test cases will be submitted separately. A randomized testnet generator will also be submitted separately, there a currently just a handful of static testnets under `test/e2e/networks/`. This will eventually replace the current P2P tests and run in CI.
4 years ago