blob: 8d7e2edfd13a233d7496120100e9532ac5cc4757 [file] [log] [blame]
package main
import (
"path/filepath"
"runtime"
"testing"
"time"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var suiteTimeout time.Duration
func getTestFilename() string {
_, filename, _, _ := runtime.Caller(2)
return filepath.Base(filename)
}
func TestHst(t *testing.T) {
if *isVppDebug {
// 30 minute timeout so that the framework won't timeout while debugging
suiteTimeout = time.Minute * 30
} else {
suiteTimeout = time.Minute * 5
}
RegisterFailHandler(Fail)
RunSpecs(t, "HST")
}