summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/infra/suite_nginx.go
diff options
context:
space:
mode:
authorAdrian Villin <avillin@cisco.com>2024-06-24 08:14:05 -0400
committerFlorin Coras <florin.coras@gmail.com>2024-06-24 16:06:40 +0000
commit1fde999eec2e0f6f8997c1bf41b638f085a14b07 (patch)
tree3103c383d67cf9aaab1b467ff2e972f4b2d78c38 /extras/hs-test/infra/suite_nginx.go
parent228e195e115a195b408d90e25a85dbbd8560059d (diff)
hs-test: added interrupt mode tests
Type: test Change-Id: I327fa1a4ea23a3af3aa33e5260367426a11e7b4f Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/infra/suite_nginx.go')
-rw-r--r--extras/hs-test/infra/suite_nginx.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/extras/hs-test/infra/suite_nginx.go b/extras/hs-test/infra/suite_nginx.go
index f835262d591..bb1bdb0f42b 100644
--- a/extras/hs-test/infra/suite_nginx.go
+++ b/extras/hs-test/infra/suite_nginx.go
@@ -45,7 +45,14 @@ func (s *NginxSuite) SetupTest() {
sessionConfig.
NewStanza("session").
Append("enable").
- Append("use-app-socket-api").Close()
+ Append("use-app-socket-api")
+
+ if strings.Contains(CurrentSpecReport().LeafNodeText, "InterruptMode") {
+ sessionConfig.Append("use-private-rx-mqs").Close()
+ s.Log("**********************INTERRUPT MODE**********************")
+ } else {
+ sessionConfig.Close()
+ }
// ... for proxy
vppProxyContainer := s.GetContainerByName(VppProxyContainerName)