Fix ovs integration tests initial setup (#33136)

pull/33140/head
Ricardo Carrillo Cruz 7 years ago committed by GitHub
parent de1bfde2d8
commit be7a3adeb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,6 +2,7 @@
- name: Make sure test bridge does not exist before tests
command: ovs-vsctl del-br br-test
ignore_errors: yes
- name: Create bridge
openvswitch_bridge:

@ -1,6 +1,11 @@
---
- command: ovs-vsctl add-br br-test
- name: Make sure test bridge does not exist before tests
command: ovs-vsctl del-br br-test
ignore_errors: yes
- name: Create test bridge
command: ovs-vsctl add-br br-test
- name: Create bridge
openvswitch_db:
@ -81,3 +86,6 @@
- assert:
that:
- "result.changed == false"
- name: Tear down test bridge
command: ovs-vsctl del-br br-test

Loading…
Cancel
Save