github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/ha/monitor/monitor_suite_test.go (about) 1 // Copyright (c) 2022, Oracle and/or its affiliates. 2 // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 4 package monitor 5 6 import ( 7 "flag" 8 "testing" 9 10 "github.com/onsi/ginkgo/v2" 11 "github.com/verrazzano/verrazzano/tests/e2e/pkg/test/framework" 12 ) 13 14 var runContinuous bool 15 var t = framework.NewTestFramework("monitor") 16 17 func init() { 18 flag.BoolVar(&runContinuous, "runContinuous", true, "run monitors continuously if set") 19 } 20 21 func TestHAMonitor(test *testing.T) { 22 t.RegisterFailHandler() 23 ginkgo.RunSpecs(test, "HA Monitoring Suite") 24 }