mirror of
https://github.com/taigrr/systemctl.git
synced 2025-10-07 09:11:46 +08:00
mark TestAllProperties as a long test
This commit is contained in:
@@ -54,6 +54,9 @@ func TestEnableSuccess(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
func TestAllProperties(t *testing.T) {
|
func TestAllProperties(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping test in short mode.")
|
||||||
|
}
|
||||||
unit := "nginx"
|
unit := "nginx"
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
Reference in New Issue
Block a user