aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-11-09 16:15:48 +0000
committerDamjan Marion <dmarion@me.com>2021-11-09 17:29:32 +0000
commita360e6fc11e5580c48dbf778cdeda123784a4123 (patch)
treee499226854a464facfa2a8ed2f4eec79022f8d68
parent0f814f5bd5ee52822d8eb56f562f43ca6cd5cea4 (diff)
tests: Remove the error output from the linux-cp tests
Type: test Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: Ib9899327897f36219c113fedb25366cd1be463a0
-rw-r--r--test/test_linux_cp.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/test_linux_cp.py b/test/test_linux_cp.py
index 4cbcf6c5a07..b683954e1da 100644
--- a/test/test_linux_cp.py
+++ b/test/test_linux_cp.py
@@ -377,7 +377,7 @@ class TestLinuxCPIpsec(TemplateIpsec,
pair = VppLcpPair(self, p.tun_if, self.host).add_vpp_config()
- self.logger.error(self.vapi.cli("sh int addr"))
+ self.logger.info(self.vapi.cli("sh int addr"))
self.logger.info(self.vapi.cli("sh lcp"))
self.logger.info(self.vapi.cli("sh ip punt redirect"))
@@ -399,11 +399,8 @@ class TestLinuxCPIpsec(TemplateIpsec,
src=p.tun_if.remote_ip4,
dst=p.tun_if.local_ip4,
count=N_PKTS)
- try:
- rxs = self.send_and_expect(self.tun_if, pkts, self.host)
- self.verify_decrypted(p, rxs)
- finally:
- self.logger.error(self.vapi.cli("sh trace"))
+ rxs = self.send_and_expect(self.tun_if, pkts, self.host)
+ self.verify_decrypted(p, rxs)
# cleanup
pair.remove_vpp_config()