session: add startup option to poll in main

Type: improvement

Needed to support multi-worker tests

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I68d5590cece24a744513dc6c324dfb2861a38a94
This commit is contained in:
Florin Coras
2020-11-25 08:44:16 -08:00
committed by Damjan Marion
parent bc867c3d21
commit e92c946498
4 changed files with 11 additions and 4 deletions

View File

@ -110,7 +110,7 @@ class QUICTestCase(VppTestCase):
class QUICEchoIntTestCase(QUICTestCase):
"""QUIC Echo Internal Test Case"""
test_bytes = ' test-bytes'
extra_vpp_punt_config = ["session", "{", "enable", "}"]
extra_vpp_punt_config = ["session", "{", "enable", "poll-main", "}"]
def setUp(self):
super(QUICEchoIntTestCase, self).setUp()
@ -177,7 +177,7 @@ class QUICEchoExtTestCase(QUICTestCase):
server_fifo_size = "1M"
client_fifo_size = "4M"
extra_vpp_punt_config = ["session", "{",
"enable", "evt_qs_memfd_seg",
"enable", "poll-main", "evt_qs_memfd_seg",
"evt_qs_seg_size", "64M",
"event-queue-length", f"{evt_q_len}",
"preallocated-sessions", "1024",