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

Method to wait for partition link states, to avoid busy (HTTP 409) #1745

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andy-maier
Copy link
Member

@andy-maier andy-maier commented Jan 23, 2025

For details, see the commit message.

TODOs:

  • Add end2end tests for wait_for_states()

@andy-maier andy-maier self-assigned this Jan 23, 2025
@andy-maier andy-maier added this to the 1.20.0 milestone Jan 23, 2025
@coveralls
Copy link
Collaborator

coveralls commented Jan 23, 2025

Coverage Status

coverage: 81.26% (-0.1%) from 81.355%
when pulling 00d02f6 on andy/partlink-wait-for-state
into 1ba6202 on master.

Details:

* Added support for waiting for partition links to reach one of a specified set
  of states with a new 'zhmcclient.PartitionLink.wait_for_states()' method.
  This can be used to ensure that a partition link is in a stable state before
  proceeding with other operations on it.

Signed-off-by: Andreas Maier <[email protected]>
@andy-maier andy-maier force-pushed the andy/partlink-wait-for-state branch from bf04c93 to 00d02f6 Compare January 23, 2025 12:52
@andy-maier andy-maier changed the title Support for waiting for partition link states Support for waiting for partition link states to avoid 409 busy Jan 23, 2025
@andy-maier andy-maier changed the title Support for waiting for partition link states to avoid 409 busy Support for waiting for partition link states to avoid busy (HTTP 409) Jan 23, 2025
@andy-maier andy-maier changed the title Support for waiting for partition link states to avoid busy (HTTP 409) Method to wait for partition link states, to avoid busy (HTTP 409) Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants