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()