X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fhs-test%2Futils.go;h=4674bafc6dcf8dfcfd59de4c6e8cb5e960b7d372;hb=0db15758ed63db434621fef0777e0dd2062ed326;hp=ba40beedeafb9d4d71cea9282c433b76da8b36a7;hpb=d810a6e218e9af3c3bccd58c9a2d925a7f12242e;p=vpp.git diff --git a/extras/hs-test/utils.go b/extras/hs-test/utils.go index ba40beedeaf..4674bafc6dc 100755 --- a/extras/hs-test/utils.go +++ b/extras/hs-test/utils.go @@ -50,6 +50,16 @@ plugins { ` +const vclTemplate = `vcl { + app-socket-api %[1]s + app-scope-global + app-scope-local + namespace-id %[2]s + namespace-secret %[2]s + use-mq-eventfd +} +` + const TopologyDir string = "topo/" type Stanza struct { @@ -142,7 +152,7 @@ func hstExec(args string, instance string) (string, error) { func waitForSyncFile(fname string) (*JsonResult, error) { var res JsonResult - for i := 0; i < 60; i++ { + for i := 0; i < 360; i++ { f, err := os.Open(fname) if err == nil { defer f.Close()