rpc/lib/client: jitter test updates and only to-be run on releases

* Updated code with feedback from @melekes, @ebuchman and @silasdavis.
* Added Makefile clause `release` to only run the test on seeing tag
`release` during releases i.e
```shell
make release
```
which will run the comprehensive and long integration-ish tests.
This commit is contained in:
Emmanuel Odeke
2017-10-25 19:20:55 -07:00
parent 5504920ba3
commit 6e5cd10399
4 changed files with 73 additions and 58 deletions
+3
View File
@@ -35,6 +35,9 @@ test_race:
test_integrations:
@bash ./test/test.sh
release:
@go test -tags release $(PACKAGES)
test100:
@for i in {1..100}; do make test; done