From df9ea847d7b1b55a5e4cf3c1aea96069fde6c5c4 Mon Sep 17 00:00:00 2001 From: Tai Groot Date: Sat, 15 May 2021 14:26:43 -0700 Subject: [PATCH] mark TestAllProperties as a long test --- systemctl_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemctl_test.go b/systemctl_test.go index ad5fed9..409b0e6 100644 --- a/systemctl_test.go +++ b/systemctl_test.go @@ -54,6 +54,9 @@ func TestEnableSuccess(t *testing.T) { } } func TestAllProperties(t *testing.T) { + if testing.Short() { + t.Skip("skipping test in short mode.") + } unit := "nginx" ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel()