From 14e376ae573fc803277cf33618ee4bd0f7dd1274 Mon Sep 17 00:00:00 2001 From: Kanstantsin Shautsou Date: Fri, 22 Jul 2016 11:15:01 +0300 Subject: [PATCH 1/2] Document debug case --- docs/devel.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/devel.adoc b/docs/devel.adoc index 50c6a7279..2dbefe6fc 100644 --- a/docs/devel.adoc +++ b/docs/devel.adoc @@ -23,3 +23,11 @@ * Integration tests for commands. * If model object has builders, then fill it with data and compare by `equals()` with expected response from docker daemon. If failed, then some fields mappings are wrong. + +### Debug + * When there are unreproducible Travis errors: + ** Try locally run test 10-20 times in IDE against the same docker daemon version. + ** Limit `.travis.yml` to single run (to not consume their resources with matrix run). + ** Remove `travis-logback.xml` replacement (build can't output everything in every run because travis has log limitation). + ** Set single test in `pom.xml` `for maven-failsafe-plugin` + ** Make PR or if you are maintainer push to branch, catch log and fix. From 0f510be3a9c10970d27bf012e70a2e64a9d28849 Mon Sep 17 00:00:00 2001 From: Kanstantsin Shautsou Date: Fri, 22 Jul 2016 11:15:45 +0300 Subject: [PATCH 2/2] Update devel.adoc --- docs/devel.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/devel.adoc b/docs/devel.adoc index 2dbefe6fc..2305b89d0 100644 --- a/docs/devel.adoc +++ b/docs/devel.adoc @@ -26,7 +26,7 @@ ### Debug * When there are unreproducible Travis errors: - ** Try locally run test 10-20 times in IDE against the same docker daemon version. + ** Try locally run test 10-20 times in IDE against the same docker daemon version and same connection type (tcp or socket). ** Limit `.travis.yml` to single run (to not consume their resources with matrix run). ** Remove `travis-logback.xml` replacement (build can't output everything in every run because travis has log limitation). ** Set single test in `pom.xml` `for maven-failsafe-plugin`