Files
cunicu/pkg/watcher/watcher_test.go
Steffen Vogel b559dac8d8 test: set build constraints for Gont-based tests
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-09-06 03:34:08 +02:00

28 lines
421 B
Go

package watcher_test
import (
"math/rand"
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"riasc.eu/wice/pkg/util"
"riasc.eu/wice/test"
)
func TestSuite(t *testing.T) {
rand.Seed(GinkgoRandomSeed())
RegisterFailHandler(Fail)
RunSpecs(t, "Watcher Suite")
}
var _ = test.SetupLogging()
var _ = BeforeSuite(func() {
if !util.HasAdminPrivileges() {
Skip("Insufficient privileges")
}
})