tests: support attaching to existing vpp
[vpp.git] / test / test_stats_client.py
index 0fa87a3..bdc9811 100644 (file)
@@ -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()