Fix kill_ovn_controller_podified test linters

So far we had a few typos in the kill_ovn_controller_podified test which
failed the linters.

This patch fixes those typos.

Change-Id: I09dbe4b8e96289fe2fc9ab39a937d7fe5c65e194
This commit is contained in:
Omer 2024-08-16 09:26:24 +00:00
parent c2467bb222
commit 21988b0e6a

View File

@ -766,11 +766,11 @@ class OvnControllerTest(BaseAgentTest):
for ovn_ctl_ovs_pod in _openshift.get_pods( for ovn_ctl_ovs_pod in _openshift.get_pods(
labels={'service': 'ovn-controller-ovs'}): labels={'service': 'ovn-controller-ovs'}):
ovn_ctl_ovs_pod.execute(['sh', '-c', 'killall ovsdb-server']) ovn_ctl_ovs_pod.execute(['sh', '-c', 'killall ovsdb-server'])
LOG.info('%s' 'was killed', ovn_ctl_ovs_pod) LOG.info('%s was killed', ovn_ctl_ovs_pod)
for ovn_ctl_pod in _openshift.get_pods( for ovn_ctl_pod in _openshift.get_pods(
labels={'service': 'ovn-controller'}): labels={'service': 'ovn-controller'}):
ovn_ctl_pod.execute(['sh', '-c', 'killall ovn-controller']) ovn_ctl_pod.execute(['sh', '-c', 'killall ovn-controller'])
LOG.info('%s' 'was killed', ovn_ctl_pod) LOG.info('%s was killed', ovn_ctl_pod)
# After killing ovn-controller pods, it may take from 1 sec to 60 sec # After killing ovn-controller pods, it may take from 1 sec to 60 sec
# to recover all ovn-controller pods. # to recover all ovn-controller pods.
# Check ovn-controller pods # Check ovn-controller pods