From: Paul Tagliamonte Date: Tue, 12 Jul 2016 14:46:35 +0000 (+0100) Subject: skip-racy-unit-tests X-Git-Tag: archive/raspbian/18.09.1+dfsg1-7+rpi1~1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1dfffb48637fe15e2bbf6b150f615a379f5b6d29;p=docker.io.git skip-racy-unit-tests Gbp-Pq: Name skip-racy-unit-tests.patch --- diff --git a/pkg/integration/utils_test.go b/pkg/integration/utils_test.go index d166489e..38323efb 100644 --- a/pkg/integration/utils_test.go +++ b/pkg/integration/utils_test.go @@ -191,6 +191,10 @@ func TestRunCommandWithOutputAndTimeoutFinished(t *testing.T) { } func TestRunCommandWithOutputAndTimeoutKilled(t *testing.T) { + if testing.Short() { + t.Skip("Skipping racy test in short mode") + } + // TODO Windows: Port this test if runtime.GOOS == "windows" { t.Skip("Needs porting to Windows")