Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/microshift-cleanup-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ function clean_processes() {
for pname in conmon pause ovn-controller ovn-northd ; do
pkill -9 --exact ${pname} || true
done
# OVS must be restarted to clear stale flow state left by the
# stopped ovsdb-server, otherwise OVN cannot reinitialize on
# the next MicroShift start.
echo Restarting openvswitch service
systemctl restart openvswitch.service 2>/dev/null || true
fi
}

Expand Down
4 changes: 2 additions & 2 deletions test/suites/standard1/hostname.robot
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Test Tags restart slow


*** Variables ***
${NEW_HOSTNAME} microshift.local
${NEW_HOSTNAME} microshift-test.example
${OLD_HOSTNAME} ${EMPTY}


Expand All @@ -29,7 +29,7 @@ Verify Local Host Name
Should Contain ${hostname} standard

Verify Local Host Name Resolution
[Documentation] Verify correct host name resolution through mDNS
[Documentation] Verify MicroShift restarts correctly after a hostname change
[Setup] Configure New Hostname

Named Deployment Should Be Available router-default timeout=${DEFAULT_WAIT_TIMEOUT} ns=openshift-ingress
Expand Down