skip-racy-unit-tests
authorPaul Tagliamonte <paultag@debian.org>
Tue, 12 Jul 2016 14:46:35 +0000 (15:46 +0100)
committerTianon Gravi <tianon@debian.org>
Tue, 12 Jul 2016 14:46:35 +0000 (15:46 +0100)
Gbp-Pq: Name skip-racy-unit-tests.patch

pkg/integration/utils_test.go

index d166489e62acaea263b6e5fcfdcccae8aa8c292e..38323efbb253dcb95ce782b84f92e273eea776a8 100644 (file)
@@ -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")