Connect to statseg and find integration test ring buffer
(self)
| 1469 | """Integration tests that coordinate with VPP writer tests""" |
| 1470 | |
| 1471 | def setUp(self): |
| 1472 | """Connect to statseg and find integration test ring buffer""" |
| 1473 | self.stat = VPPStats() |
| 1474 | self.stat.connect() |
| 1475 | |
| 1476 | # Look for integration test ring buffer |
| 1477 | try: |
| 1478 | self.ring_buffer = self.stat.get_ring_buffer("/integration/test") |
| 1479 | self.ring_buffer_available = True |
| 1480 | except (KeyError, ValueError): |
| 1481 | print( |
| 1482 | "Integration test ring buffer not found. Run integration test setup first." |
| 1483 | ) |
| 1484 | self.ring_buffer_available = False |
| 1485 | |
| 1486 | def tearDown(self): |
| 1487 | """Disconnect from statseg""" |
nothing calls this directly
no test coverage detected