Skip to content

Fix networking acceptance tests#2854

Merged
pierreprinetti merged 2 commits intogophercloud:masterfrom
shiftstack:fix-portsbinding-tests
Jan 2, 2024
Merged

Fix networking acceptance tests#2854
pierreprinetti merged 2 commits intogophercloud:masterfrom
shiftstack:fix-portsbinding-tests

Conversation

@mandre
Copy link
Copy Markdown
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
Copy Markdown

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.

mandre added 2 commits January 1, 2024 14:46
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.
@mandre mandre force-pushed the fix-portsbinding-tests branch from 934a1b2 to ada7a8b Compare January 1, 2024 13:50
@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
@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.

3 participants