From 0db15758ed63db434621fef0777e0dd2062ed326 Mon Sep 17 00:00:00 2001 From: Maros Ondrejicka Date: Wed, 12 Oct 2022 22:58:01 +0200 Subject: vcl: register workers when reattaching to vpp Type: improvement Signed-off-by: Maros Ondrejicka Change-Id: I82a286e2872338974c1930138c30db78103ae499 --- extras/hs-test/utils.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'extras/hs-test/utils.go') 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() -- cgit 1.2.3-korg