Skip to content

Commit baa7476

Browse files
authored
[test_nhg.py] Cleanup test resources at the end (sonic-net#2128)
*Removed some leftover state from a previous test case that was sometimes messing up with a following test case. Signed-off-by: Alexandru Banu <v-albanu@microsoft.com>
1 parent 05c2c2e commit baa7476

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_nhg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,6 +1931,9 @@ def create_cbf_invalid_nhg_map_test():
19311931
time.sleep(1)
19321932
assert(not self.nhg_exists('cbfgroup3'))
19331933

1934+
# Cleanup
1935+
self.cbf_nhg_ps._del('cbfgroup3')
1936+
19341937
self.init_test(dvs, 4)
19351938

19361939
mainline_cbf_nhg_test()

0 commit comments

Comments
 (0)