20 lines
375 B
Go
20 lines
375 B
Go
|
package rescheduling
|
||
|
|
||
|
import (
|
||
|
"flag"
|
||
|
"testing"
|
||
|
|
||
|
. "github.com/onsi/ginkgo"
|
||
|
. "github.com/onsi/gomega"
|
||
|
)
|
||
|
|
||
|
var integration = flag.Bool("integration", false, "run integration tests")
|
||
|
|
||
|
func TestServerSideRestarts(t *testing.T) {
|
||
|
if !*integration {
|
||
|
t.Skip("skipping test in non-integration mode.")
|
||
|
}
|
||
|
RegisterFailHandler(Fail)
|
||
|
RunSpecs(t, "Server Side Restart Tests")
|
||
|
}
|