Skip to content

Commit 6d935fa

Browse files
authored
Merge pull request #106 from stackhpc/upstream/yoga-2024-01-01
Synchronise yoga with upstream
2 parents 9db9903 + 6b86538 commit 6d935fa

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_maintenance.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,9 @@ def _verify_lb(test, protocol, vip_ext_port, vip_int_port):
10051005
pf_def.INTERNAL_IP_ADDRESS: p1_ip}
10061006
pf_obj = self.pf_plugin.create_floatingip_port_forwarding(
10071007
self.context, fip_id, **fip_attrs(fip_pf_args))
1008-
m_publish.assert_called_once()
1008+
call = mock.call('port_forwarding', 'after_create', self.pf_plugin,
1009+
payload=mock.ANY)
1010+
m_publish.assert_has_calls([call])
10091011

10101012
# Assert load balancer for port forwarding was not created
10111013
self.assertFalse(self._find_pf_lb(router_id, fip_id))
@@ -1023,7 +1025,9 @@ def _verify_lb(test, protocol, vip_ext_port, vip_int_port):
10231025
m_publish.reset_mock()
10241026
self.pf_plugin.update_floatingip_port_forwarding(
10251027
self.context, pf_obj['id'], fip_id, **fip_attrs(fip_pf_args))
1026-
m_publish.assert_called_once()
1028+
call = mock.call('port_forwarding', 'after_update', self.pf_plugin,
1029+
payload=mock.ANY)
1030+
m_publish.assert_has_calls([call])
10271031

10281032
# Assert load balancer for port forwarding is stale
10291033
_verify_lb(self, 'tcp', 2222, 22)

roles/configure_functional_tests/tasks/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
# NOTE(slaweq) On Fedora/CentOS systems make sure that SELinux is
3535
# not in enforcing mode
3636
sudo setenforce 0
37+
if [[ $os_VENDOR == "CentOSStream" && $os_RELEASE -eq 8 ]]; then
38+
install_package python3.8 python38-devel
39+
fi
3740
fi
3841
3942
configure_host_for_func_testing

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ skipsdist = False
55
ignore_basepython_conflict = True
66

77
[testenv]
8-
basepython = python3
8+
basepython = {env:TOX_PYTHON:python3}
99
setenv = VIRTUAL_ENV={envdir}
1010
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true}
1111
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true}

zuul.d/base.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@
130130
description: |
131131
Functional testing for a FIPS enabled Centos 8 system
132132
vars:
133+
tox_environment:
134+
TOX_PYTHON: python3.8
133135
nslookup_target: 'opendev.org'
134136
enable_fips: True
135137
devstack_localrc:

zuul.d/job-templates.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
name: neutron-experimental-jobs
4848
experimental:
4949
jobs:
50+
- neutron-functional-with-uwsgi-fips
5051
- neutron-ovn-grenade-multinode
5152
- neutron-ovn-tempest-with-uwsgi-loki
5253
- tempest-integrated-networking:

0 commit comments

Comments
 (0)