summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-05-11 17:58:16 +0200
committerChristian Breunig <christian@breunig.cc>2026-05-11 20:14:58 +0200
commitba7da49727661a1b502844eca1445016353ffb92 (patch)
treef0107a1a59fb41b158466471b96bd4915e098c69 /interface-definitions/include
parent7cf4d14610a021d13e1a54df05cf1bffc03f714b (diff)
downloadvyos-1x-ba7da49727661a1b502844eca1445016353ffb92.tar.gz
vyos-1x-ba7da49727661a1b502844eca1445016353ffb92.zip
smoketests: T8845: missing base-class call to commit() in tearDownClass()
The smoketest framework heavily relies on deriving common code paths. The tearDownClass() is called when a testcase finishes and testcases like protocols BGP delete CLI nodes before calling the base class. The base-class never calls commit() thus the deletions are discarded instead of committed. test_protocols_bgp.py @classmethod def tearDownClass(cls): cls.cli_delete(cls, ['policy', 'route-map']) cls.cli_delete(cls, ['policy', 'prefix-list']) cls.cli_delete(cls, ['policy', 'prefix-list6']) super(TestProtocolsBGP, cls).tearDownClass() base class base_vyostest_shim.py @classmethod def tearDownClass(cls): # discard any pending changes which might caused a messed up config cls._session.discard()
Diffstat (limited to 'interface-definitions/include')
0 files changed, 0 insertions, 0 deletions