Skip to content

Commit

Permalink
tests/network-ovn: Empty /var/log/ovn/ovn-controller.log
Browse files Browse the repository at this point in the history
So that repeated runs of the test don't fail due to left over ACL logs.

Signed-off-by: Thomas Parrott <[email protected]>
  • Loading branch information
tomponline committed Aug 9, 2024
1 parent f80c570 commit f5f8757
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/network-ovn
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ovs-vsctl set open_vswitch . \
external_ids:ovn-encap-type=geneve \
external_ids:ovn-encap-ip=127.0.0.1

# Empty controller log so ACL log checks are consistent over repeat runs.
echo "" > /var/log/ovn/ovn-controller.log

# Configure LXD.
lxc project switch default
lxc storage create default zfs
Expand Down

0 comments on commit f5f8757

Please sign in to comment.