status-go/t/destructive
Dmitry Shulyak 741422af73
Add a test with network connection problem while syncing a chain (#677)
Test waits till synchronization is started, then interrupts network connection, wait for a failure event and restore network connection, confirming that after the connection is restored synchronization will proceed.
2018-02-23 09:03:55 +02:00
..
README.md Add destructive tests (#646) 2018-02-19 17:32:58 +02:00
peers_test.go Add a test with network connection problem while syncing a chain (#677) 2018-02-23 09:03:55 +02:00
sync_test.go Add a test with network connection problem while syncing a chain (#677) 2018-02-23 09:03:55 +02:00
testcontroller.go Add destructive tests (#646) 2018-02-19 17:32:58 +02:00

README.md

Destructive tests

The goal is to test behaviour of status-go and underlying protocols under erroneous conditions, such as losing network connection.

Test could cause unpredictable side effects, such as change of network configuration. I don't advice to run them locally on your machine, just use docker container. Also note that tests are relying on real data, such as number of peers.

make docker-test ARGS="./t/destructive/ -v -network=3"