From 81a528d2c051c118329c9ad3c00769d4c296b653 Mon Sep 17 00:00:00 2001 From: "U-GINA-PC\\gina" Date: Wed, 3 Apr 2019 09:05:56 -0700 Subject: [PATCH] Skip app.TestQuit on windows as windows does not support interrupt. Change-Id: I4ff0858ff312375dd697643a90b1043504d3a92b --- pkg/server/app/app_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/server/app/app_test.go b/pkg/server/app/app_test.go index 57c35b475..bc5d2da9f 100644 --- a/pkg/server/app/app_test.go +++ b/pkg/server/app/app_test.go @@ -22,6 +22,7 @@ import ( "io" "os" "os/exec" + "runtime" "testing" ) @@ -171,6 +172,10 @@ func TestQuit(t *testing.T) { if testing.Short() { t.Skip("skipping test in short mode") } + if runtime.GOOS == "windows" { + // windows does not support interrupts + t.Skip("Skipping interrupt test on windows") + } cmd := exec.Command("sleep", "10000") err := cmd.Start()