summaryrefslogtreecommitdiff
path: root/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-08-16 08:44:22 +0000
committerChristian Breunig <christian@breunig.cc>2026-08-17 21:28:25 +0200
commit28e28c5cadf93424bfad36f3cda368c0d12c35cf (patch)
treeb28beb2744346770f4e4176df652d726a3eeadc9 /scripts/cli
parent32f3ce2d951e30335dc6216e3759d7c1fcef4832 (diff)
downloadvyos-1x-28e28c5cadf93424bfad36f3cda368c0d12c35cf.tar.gz
vyos-1x-28e28c5cadf93424bfad36f3cda368c0d12c35cf.zip
smoketest: T9218: wait for commit lock before cli_set/*_delete/*_discard
cli_commit() already busy-waits for the commit lock to clear before committing, since a concurrent process can still hold it open for a moment. cli_set()/cli_delete() had no such guard, so a set/delete issued right after a commit could race against that lingering lock and fail with a generic "Set failed"/"Delete failed" ConfigSessionError. This caused the intermittent test_bgp_27_route_reflector_client failures, whose set/commit/discard loop hammers the session tightly enough to hit the race.
Diffstat (limited to 'scripts/cli')
0 files changed, 0 insertions, 0 deletions