diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-04-16 22:10:45 +0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-18 06:34:21 +0000 |
| commit | 13bb2b21255e2d40e0983ac8c177863663e6c205 (patch) | |
| tree | dd77c3f138841cd1d9020422e22789b9d5a9f908 /tests/topotests/example-test/test_example.py | |
| parent | a4cea5cf153e905a4a63f1bdc29a8d78b35d950b (diff) | |
lib, zebra: fix exit commands
If a command is not marked as `YANG`-converted, the current command
batching buffer is flushed before executing the command. We shouldn't
flush the buffer when executing an `exit` command. It should only be
flushed if the next command is not `YANG`-converted, which is checked by
the command itself, not the previous `exit`.
Fixes #15706.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 57811a53ba65f755cb2ff9cdc682b8a249144ffa)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions
