blob: 8cbf936f0266182053111e33c0f9422b64d09e96 [file] [log] [blame]
Filip Tehlar229f5fc2022-08-09 14:44:47 +00001package main
2
3import (
Filip Tehlarbb98aac2022-12-21 14:40:35 +01004 "testing"
Adrian Villin93974e22024-05-30 06:10:59 -04005 "time"
Filip Tehlar229f5fc2022-08-09 14:44:47 +00006
Adrian Villincee15aa2024-03-14 11:42:55 -04007 . "github.com/onsi/ginkgo/v2"
8 . "github.com/onsi/gomega"
Filip Tehlar229f5fc2022-08-09 14:44:47 +00009)
10
Adrian Villin93974e22024-05-30 06:10:59 -040011var suiteTimeout time.Duration
12
Adrian Villincee15aa2024-03-14 11:42:55 -040013func TestHst(t *testing.T) {
Adrian Villin93974e22024-05-30 06:10:59 -040014 if *isVppDebug {
15 // 30 minute timeout so that the framework won't timeout while debugging
16 suiteTimeout = time.Minute * 30
17 } else {
18 suiteTimeout = time.Minute * 5
19 }
Adrian Villincee15aa2024-03-14 11:42:55 -040020 RegisterFailHandler(Fail)
21 RunSpecs(t, "HST")
Maros Ondrejickac2f76f42023-02-27 13:22:45 +010022}