Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
almusil committed Dec 2, 2024
1 parent f583761 commit 5a525e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ovn-fake-multinode-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
matrix:
cfg:
- { repo: "${{ github.repository }}", branch: "${{ github.ref_name }}" }
- { repo: ovn-org/ovn, branch: "branch-22.03" }
env:
RUNC_CMD: podman
OS_IMAGE: "fedora:39"
Expand Down Expand Up @@ -79,7 +78,6 @@ jobs:
matrix:
cfg:
- { branch: "${{ github.ref_name }}", testsuiteflags: ""}
- { branch: "branch-22.03", testsuiteflags: "-k 'basic test'" }
name: multinode tests ${{ join(matrix.cfg.*, ' ') }}
env:
RUNC_CMD: podman
Expand Down
10 changes: 10 additions & 0 deletions tests/multinode.at
Original file line number Diff line number Diff line change
Expand Up @@ -2713,6 +2713,16 @@ m_as ovn-chassis-1 /data/create_fake_vm.sh external external 00:00:00:00:20:10 1
m_as ovn-chassis-1 /data/create_fake_vm.sh pod10 pod10 00:00:00:00:10:10 1500 10.100.200.10 24 10.100.200.1 10:200::10/64 10:200::1
m_as ovn-chassis-2 /data/create_fake_vm.sh pod20 pod20 00:00:00:00:10:20 1500 10.100.200.20 24 10.100.200.1 10:200::20/64 10:200::1

echo "Chassis1"
m_as ovn-chassis-1 ovn-sbctl show
m_as ovn-chassis-1 ovn-nbctl show
m_as ovn-chassis-1 ovs-vsctl show

echo "Chassis2"
m_as ovn-chassis-2 ovn-sbctl show
m_as ovn-chassis-2 ovn-nbctl show
m_as ovn-chassis-2 ovs-vsctl show

# We cannot use any of the helpers as they assume that there is only single ovn-northd instance running
check m_as ovn-chassis-1 ovn-nbctl --wait=hv sync
OVS_WAIT_UNTIL([test -n "$(m_as ovn-chassis-1 ovn-sbctl --bare --columns _uuid find Port_Binding logical_port=external up=true)"])
Expand Down

0 comments on commit 5a525e7

Please sign in to comment.