don't run scheduled stop test with none driver
parent
6c48c60922
commit
bcf236f15c
|
@ -141,6 +141,7 @@ type VersionedExtraOption struct {
|
|||
}
|
||||
|
||||
// ScheduledStopConfig contains information around scheduled stop
|
||||
// not yet used, will be used to show status of scheduled stop
|
||||
type ScheduledStopConfig struct {
|
||||
InitiationTime int64
|
||||
Duration time.Duration
|
||||
|
|
|
@ -35,6 +35,9 @@ import (
|
|||
)
|
||||
|
||||
func TestScheduledStop(t *testing.T) {
|
||||
if NoneDriver() {
|
||||
t.Skip("--schedule does not apply to none driver ")
|
||||
}
|
||||
profile := UniqueProfileName("scheduled-stop")
|
||||
ctx, cancel := context.WithTimeout(context.Background(), Minutes(5))
|
||||
defer CleanupWithLogs(t, profile, cancel)
|
||||
|
|
Loading…
Reference in New Issue