11 . "fd.io/hs-test/infra"
12 . "github.com/onsi/ginkgo/v2"
13 . "github.com/onsi/gomega"
16 func getTestFilename() string {
17 _, filename, _, _ := runtime.Caller(2)
18 return filepath.Base(filename)
21 func TestHst(t *testing.T) {
23 // 30 minute timeout so that the framework won't timeout while debugging
24 SuiteTimeout = time.Minute * 30
26 SuiteTimeout = time.Minute * 5
29 // creates a file with PPID, used for 'make cleanup-hst'
30 ppid := fmt.Sprint(os.Getppid())
31 ppid = ppid[:len(ppid)-1]
32 f, _ := os.Create(".last_hst_ppid")
36 RegisterFailHandler(Fail)