Commit a3d74c3
tests: Fix dpctl related commands not properly executed at exit.
- ovs-dpctl was erroneously not executed when ovs-vswitchd was stopped.
- on_exit 'test -e $OVS_RUNDIR/ovs-vswitchd.pid && ovs-appctl
dpctl/flush-conntrack' was executed after stopping ovs-vswitchd, so
ovs-appctl dpctl/flush-conntrack was never executed.
Fixes: 0156e7d ("tests: Avoid calling ovs/ovn commands when ovs/ovn are stopped.")
Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
Signed-off-by: Ales Musil <amusil@redhat.com>
(cherry picked from commit 2005378)1 parent 351a4ff commit a3d74c3
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments