don't run scheduled stop test with none driver

pull/9503/head
Priya Wadhwa 2020-11-09 13:56:50 -08:00
parent 6c48c60922
commit bcf236f15c
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

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