From e263685ac82454c39eee6e2a2146dd1e02d61de8 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 16 Mar 2021 12:52:12 +0100 Subject: tests: support attaching to existing vpp Introduce a new option DEBUG=attach to run a test against existing already running vpp. A new target 'make test-start-gdb' will spawn VPP in gdb for this purpose. Customization options explained in test-help. Type: improvement Change-Id: Ia160a85b33da3b2df292d44bb95729af9dd9da96 Signed-off-by: Klement Sekera --- test/test_stats_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_stats_client.py') diff --git a/test/test_stats_client.py b/test/test_stats_client.py index 0fa87a370c1..bdc98118aeb 100644 --- a/test/test_stats_client.py +++ b/test/test_stats_client.py @@ -34,7 +34,7 @@ class StatsClientTestCase(VppTestCase): initial_fds = p.num_fds() for _ in range(100): - stats = VPPStats(socketname=cls.stats_sock) + stats = VPPStats(socketname=cls.get_stats_sock_path()) stats.disconnect() ending_fds = p.num_fds() -- cgit 1.2.3-korg