status-go/vendor/github.com
Dmitry Shulyak b2580c79d7
Add destructive tests (#646)
Network disconnect is introduced by removing default gateway, easily reversible condition.

On my local machine it takes 30 seconds for peers to reconnect after connectivity is restored. As you guess this is not an accident, and there is 30 seconds timeout for dial expiration. This dial expiration is used in p2p.Server to guarantee that peers are not dialed too often.

Additionally I added small script to Makefile to run such tests in docker environment, usage example:

```
make docker-test ARGS="./t/destructive/ -v -network=4"
```
2018-02-19 17:32:58 +02:00
..
NaySoftware/go-fcm Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
aristanetworks/goarista Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
beorn7/perks Add support for metrics (#558) 2018-01-30 12:51:48 +01:00
btcsuite Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
davecgh/go-spew Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
edsrzf/mmap-go Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
ethereum/go-ethereum Remove DefaultMinimumPow patches in favor of using whisper config (#683) 2018-02-19 15:53:40 +01:00
go-playground Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
go-stack/stack vendor: Upgrade go-stack 2017-09-03 11:15:03 +02:00
golang Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
hashicorp/golang-lru Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
huin/goupnp Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
jackpal/go-nat-pmp Initial refactoring + vendor update (after rebase) 2016-09-15 06:12:25 +03:00
karalabe/hid Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
mattn Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
matttproud/golang_protobuf_extensions Add support for metrics (#558) 2018-01-30 12:51:48 +01:00
pborman/uuid Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
pmezard/go-difflib Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
prometheus Add support for metrics (#558) 2018-01-30 12:51:48 +01:00
rcrowley/go-metrics Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
rjeczalik/notify Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
robertkrimen/otto Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
rs Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
stretchr/testify Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
syndtr/goleveldb Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
vishvananda Add destructive tests (#646) 2018-02-19 17:32:58 +02:00