2018-03-05 18:23:28 +00:00
|
|
|
package rescheduling
|
|
|
|
|
|
|
|
import (
|
|
|
|
"flag"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
. "github.com/onsi/ginkgo"
|
|
|
|
. "github.com/onsi/gomega"
|
|
|
|
)
|
|
|
|
|
|
|
|
var integration = flag.Bool("integration", false, "run integration tests")
|
2018-03-19 15:40:36 +00:00
|
|
|
var slow = flag.Bool("slow", false, "runs slower integration tests")
|
2018-03-05 18:23:28 +00:00
|
|
|
|
|
|
|
func TestServerSideRestarts(t *testing.T) {
|
|
|
|
if !*integration {
|
|
|
|
t.Skip("skipping test in non-integration mode.")
|
|
|
|
}
|
|
|
|
RegisterFailHandler(Fail)
|
|
|
|
RunSpecs(t, "Server Side Restart Tests")
|
|
|
|
}
|