Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 2.95 KB

flakyness.org

File metadata and controls

34 lines (27 loc) · 2.95 KB

Iroha 2 test guide

Why tests are important

Tests are the lifeblood of modern software engineering. Whenever you add or remove a feature you must ensure that the tests pass. Sadly, writing tests is as difficult as writing software, and tests are prone to misbehaviour. What follows is a short guide on how to write tests, how to update the tests, and basic troubleshooting.

Test flakyness

A test is considered flaky if its pass/fail is not deterministic. In other words, there is no guarantee that it will always pass or always fail when you run it.

Known flaky tests

This file should be updated after any performance critical changes. Note, because most flaky tests are of the integration variety, updating the flakyness report can take upwards of 10 hours given the minimum of 300 repetitions.

Unfortunately it is impossible to expedite the process, and doing something in parallel to the testing can worsen the results, so beware of repeating the tests on your work machine.

Commit_shaunstable…7_p…_1…Two_networksnetwork_stable_after_add…integration::p2p::multiple_networkstime_trigger_execution_count…10_percentclient_has_rejected_and_acepted_txs_should_return_tx_history
938a3168387bb5a67aac19057d94c220c137dd961/3003/3005/3000/3000/3000/300
3f88232ce36e441c7decdec86feae027d271e3ef2/3005/3006/3001/3001/3001/300
ba4571d96bea31cd9dea93128bf122e06cb43e311/3004/3002/3001/3000/3000/300
cf212d47e9426a1d7c4ed7a3aa8d16e885507f400/3006/3000/3002/3000/3000/300