Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix networking acceptance tests #2854

Merged

Conversation

mandre
Copy link
Contributor

@mandre mandre commented Jan 1, 2024

Since https://review.opendev.org/c/openstack/neutron/+/892815 it is no longer possible to update the vnic type of a bound port.

These doesn't seem to be an API to unbind the port other than deleting the port, so instead we're dropping the VNICType attribute from the update request in the TestPortsbindingCRUD test.

@github-actions github-actions bot added the semver:patch No API change label Jan 1, 2024
@coveralls
Copy link

coveralls commented Jan 1, 2024

Coverage Status

coverage: 77.832%. remained the same
when pulling ada7a8b on shiftstack:fix-portsbinding-tests
into e1ff74a on gophercloud:master.

Since https://review.opendev.org/c/openstack/neutron/+/892815 it is no
longer possible to update the vnic type of a bound port.

These doesn't seem to be an API to unbind the port other than deleting
the port, so instead we're dropping the `VNICType` attribute from the
update request in the `TestPortsbindingCRUD` test.
The correct order is `expected`, `actual`. Having this right helps
debugging since the values are printed in a log message.
@github-actions github-actions bot added semver:patch No API change and removed semver:patch No API change labels Jan 1, 2024
@mandre mandre added the backport-v1 This PR will be backported to v1 label Jan 2, 2024
@pierreprinetti pierreprinetti merged commit 0735d2b into gophercloud:master Jan 2, 2024
29 checks passed
@pierreprinetti pierreprinetti deleted the fix-portsbinding-tests branch January 2, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v1 This PR will be backported to v1 semver:patch No API change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants