diff options
author | Ole Troan <ot@cisco.com> | 2021-03-03 10:40:05 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-03-15 17:23:53 +0000 |
commit | 4376ab2a926b36c1131588069a8a9cdd2520073d (patch) | |
tree | c7315eeed5c134abef38a25d52ba0fb158a14f86 /src/vlib/test | |
parent | 387a08a8be413379618a633b140c58c35a1f6640 (diff) |
tests: use socket transport instead of shared memory
Type: improvement
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I9e65c94a5a05047a5104e9361ea36eac77b40442
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vlib/test')
-rw-r--r-- | src/vlib/test/test_cli.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/vlib/test/test_cli.py b/src/vlib/test/test_cli.py index a1ffbac81d8..5005bf4c43a 100644 --- a/src/vlib/test/test_cli.py +++ b/src/vlib/test/test_cli.py @@ -5,7 +5,7 @@ import datetime import time import unittest -from vpp_papi import vpp_transport_shmem +from vpp_papi import VPPIOError from framework import VppTestCase, VppTestRunner @@ -39,9 +39,8 @@ class TestCLI(VppTestCase): self.assertEqual(rv.retval, 0) def test_long_cli_delay(self): - """ Test that VppApiClient raises VppTransportShmemIOError if timeout.""" # noqa - with self.assertRaises( - vpp_transport_shmem.VppTransportShmemIOError) as ctx: + """ Test that VppApiClient raises VppIOError if timeout.""" # noqa + with self.assertRaises(VPPIOError) as ctx: rv = self.vapi.papi.cli_inband(cmd='wait 10') def test_long_cli_delay_override(self): |