tests: tag the tests that do not work with multi-worker configuration
[vpp.git] / src / vlib / test / test_counters.py
1 #!/usr/bin/env python3
2
3 from framework import VppTestCase
4 from framework import tag_fixme_vpp_workers
5
6
7 @tag_fixme_vpp_workers
8 class TestCounters(VppTestCase):
9     """ Counters C Unit Tests """
10
11     @classmethod
12     def setUpClass(cls):
13         super(TestCounters, cls).setUpClass()
14
15     @classmethod
16     def tearDownClass(cls):
17         super(TestCounters, cls).tearDownClass()
18
19     def setUp(self):
20         super(TestCounters, self).setUp()
21
22     def tearDown(self):
23         super(TestCounters, self).tearDown()
24
25     def test_counter_simple_expand(self):
26         """ Simple Counter Expand """
27         error = self.vapi.cli("test counter simple expand")
28
29         if error:
30             self.logger.critical(error)
31             self.assertNotIn('failed', error)
32
33     def test_counter_combined_expand(self):
34         """ Combined Counter Expand """
35         error = self.vapi.cli("test counter combined expand")
36
37         if error:
38             self.logger.critical(error)
39             self.assertNotIn('failed', error)