diff options
author | 2024-11-02 16:27:53 -0400 | |
---|---|---|
committer | 2025-01-07 20:25:22 +0000 | |
commit | 6102d81832ed93469de64222657a69dcd4e0af5e (patch) | |
tree | a92ef7507b0d004084ddff6abdfd33bb61f0bbc5 /test/asf | |
parent | 3a3476fddb79ed1eaf277bb66c0641933906ef3d (diff) |
vcl: support pre/post cb before mq wait
Allow vls to register cb functions with vcl pre/post mq sleep. These can
be used to drop/reacquire locks prior/after waiting on vcl mq events.
This then allows multi-thread, as opposed to multi-worker, applications
to share sessions between threads without deadlocking, e.g., multiple
threads trying to read/write/close non-blocking sessions. Caveat:
connects still need to be improved.
Type: improvement
Change-Id: I589aa9dfd0553b0fad54f02ed16c3cda9761a83d
Signed-off-by: Florin Coras <fcoras@cisco.com>
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/asf')
-rw-r--r-- | test/asf/test_vcl.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/asf/test_vcl.py b/test/asf/test_vcl.py index 124ea14089b..143b46c22ee 100644 --- a/test/asf/test_vcl.py +++ b/test/asf/test_vcl.py @@ -7,7 +7,7 @@ import subprocess import signal import glob from config import config -from asfframework import VppAsfTestCase, VppTestRunner, Worker, tag_fixme_ubuntu2404 +from asfframework import VppAsfTestCase, VppTestRunner, Worker from vpp_ip_route import VppIpTable, VppIpRoute, VppRoutePath iperf3 = "/usr/bin/iperf3" @@ -311,7 +311,6 @@ class VCLTestCase(VppAsfTestCase): self.assert_equal(worker_client.result, 0, "Binary test return code") -@tag_fixme_ubuntu2404 class LDPCutThruTestCase(VCLTestCase): """LDP Cut Thru Tests""" @@ -1024,7 +1023,6 @@ class VCLThruHostStackNsock(VCLTestCase): ) -@tag_fixme_ubuntu2404 class LDPThruHostStackIperf(VCLTestCase): """LDP Thru Host Stack Iperf""" @@ -1072,7 +1070,6 @@ class LDPThruHostStackIperf(VCLTestCase): ) -@tag_fixme_ubuntu2404 class LDPThruHostStackIperfUdp(VCLTestCase): """LDP Thru Host Stack Iperf UDP""" @@ -1118,7 +1115,6 @@ class LDPThruHostStackIperfUdp(VCLTestCase): ) -@tag_fixme_ubuntu2404 class LDPIpv6CutThruTestCase(VCLTestCase): """LDP IPv6 Cut Thru Tests""" |