-
Notifications
You must be signed in to change notification settings - Fork 67
wait_for_condition: use sampler, not watcher #1248
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
|
Report bugs in Issues The following are automatically added:
Available user actions:
Supported labels
|
|
Kudos, SonarCloud Quality Gate passed!
|
rnetser
approved these changes
Jul 16, 2023
Collaborator
Author
|
/verified |
Collaborator
Author
|
/cherry-pick v4.14 |
rnetser
added a commit
that referenced
this pull request
Jul 19, 2023
* add v4.14 to renovate.json * Exapnd MachineConfigPool for creation (#1204) * Exapnd MachineConfigPool for creation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * ICSP: set repository_digest_mirrors to None (#1231) * Add close-stale-issues workflow * [pre-commit.ci] pre-commit autoupdate (#1239) updates: - [github.com/hadialqattan/pycln: v2.1.3 → v2.1.5](hadialqattan/pycln@v2.1.3...v2.1.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * rmemove pre-commit-hooks * remove ruff from pre-commit * Update OWNERS (#1241) * adding omrirh to owners * Update OWNERS Co-authored-by: oharan2 <oharan@redhat.com> --------- Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> Co-authored-by: oharan2 <oharan@redhat.com> * StorageClass - add support for resource creation (#1246) * Update StorageClass class * fix per review * fix per review * wait_for_condition: use sampler, not watcher (#1248) * wait_for_condition: use sampler, not watcher * wait_for_condition: use sampler, not watcher * [pre-commit.ci] pre-commit autoupdate (#1245) updates: - [github.com/PyCQA/autoflake: v2.1.1 → v2.2.0](PyCQA/autoflake@v2.1.1...v2.2.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * disable stale.yml * Update close-stale-issues.yml * [pre-commit.ci] pre-commit autoupdate (#1252) updates: - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Omri Bar Haim <obarhaim@redhat.com> Co-authored-by: oharan2 <oharan@redhat.com> Co-authored-by: dalia-frank <65129017+dalia-frank@users.noreply.github.com> Co-authored-by: Ruth Netser <rnetser@redhat.com>
rnetser
added a commit
that referenced
this pull request
Jul 23, 2023
* Release 4.14.0 * ICSP: set repository_digest_mirrors to None (#1231) (#1233) Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> * Release 4.14.1 * wait_for_condition: use sampler, not watcher (#1250) * Release 4.14.2 * Sync from main (#1253) * add v4.14 to renovate.json * Exapnd MachineConfigPool for creation (#1204) * Exapnd MachineConfigPool for creation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * ICSP: set repository_digest_mirrors to None (#1231) * Add close-stale-issues workflow * [pre-commit.ci] pre-commit autoupdate (#1239) updates: - [github.com/hadialqattan/pycln: v2.1.3 → v2.1.5](hadialqattan/pycln@v2.1.3...v2.1.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * rmemove pre-commit-hooks * remove ruff from pre-commit * Update OWNERS (#1241) * adding omrirh to owners * Update OWNERS Co-authored-by: oharan2 <oharan@redhat.com> --------- Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> Co-authored-by: oharan2 <oharan@redhat.com> * StorageClass - add support for resource creation (#1246) * Update StorageClass class * fix per review * fix per review * wait_for_condition: use sampler, not watcher (#1248) * wait_for_condition: use sampler, not watcher * wait_for_condition: use sampler, not watcher * [pre-commit.ci] pre-commit autoupdate (#1245) updates: - [github.com/PyCQA/autoflake: v2.1.1 → v2.2.0](PyCQA/autoflake@v2.1.1...v2.2.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * disable stale.yml * Update close-stale-issues.yml * [pre-commit.ci] pre-commit autoupdate (#1252) updates: - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Omri Bar Haim <obarhaim@redhat.com> Co-authored-by: oharan2 <oharan@redhat.com> Co-authored-by: dalia-frank <65129017+dalia-frank@users.noreply.github.com> Co-authored-by: Ruth Netser <rnetser@redhat.com> * Release 4.14.3 * Add kubevirt market to test_vm (#1257) Co-authored-by: RedHatQE <None> --------- Co-authored-by: redhat-qe-bot <108792105+redhat-qe-bot@users.noreply.github.com> Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Omri Bar Haim <obarhaim@redhat.com> Co-authored-by: oharan2 <oharan@redhat.com> Co-authored-by: dalia-frank <65129017+dalia-frank@users.noreply.github.com> Co-authored-by: Ruth Netser <rnetser@redhat.com>
myakove
added a commit
that referenced
this pull request
Jul 23, 2023
* Release 4.14.0 * ICSP: set repository_digest_mirrors to None (#1231) (#1233) Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> * Release 4.14.1 * wait_for_condition: use sampler, not watcher (#1250) * Release 4.14.2 * Sync from main (#1253) * add v4.14 to renovate.json * Exapnd MachineConfigPool for creation (#1204) * Exapnd MachineConfigPool for creation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * ICSP: set repository_digest_mirrors to None (#1231) * Add close-stale-issues workflow * [pre-commit.ci] pre-commit autoupdate (#1239) updates: - [github.com/hadialqattan/pycln: v2.1.3 → v2.1.5](hadialqattan/pycln@v2.1.3...v2.1.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * rmemove pre-commit-hooks * remove ruff from pre-commit * Update OWNERS (#1241) * adding omrirh to owners * Update OWNERS Co-authored-by: oharan2 <oharan@redhat.com> --------- Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> Co-authored-by: oharan2 <oharan@redhat.com> * StorageClass - add support for resource creation (#1246) * Update StorageClass class * fix per review * fix per review * wait_for_condition: use sampler, not watcher (#1248) * wait_for_condition: use sampler, not watcher * wait_for_condition: use sampler, not watcher * [pre-commit.ci] pre-commit autoupdate (#1245) updates: - [github.com/PyCQA/autoflake: v2.1.1 → v2.2.0](PyCQA/autoflake@v2.1.1...v2.2.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * disable stale.yml * Update close-stale-issues.yml * [pre-commit.ci] pre-commit autoupdate (#1252) updates: - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Omri Bar Haim <obarhaim@redhat.com> Co-authored-by: oharan2 <oharan@redhat.com> Co-authored-by: dalia-frank <65129017+dalia-frank@users.noreply.github.com> Co-authored-by: Ruth Netser <rnetser@redhat.com> * Release 4.14.3 * Add kubevirt market to test_vm (#1257) Co-authored-by: RedHatQE <None> --------- Co-authored-by: redhat-qe-bot <108792105+redhat-qe-bot@users.noreply.github.com> Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Omri Bar Haim <obarhaim@redhat.com> Co-authored-by: oharan2 <oharan@redhat.com> Co-authored-by: dalia-frank <65129017+dalia-frank@users.noreply.github.com> Co-authored-by: Ruth Netser <rnetser@redhat.com>
myakove
added a commit
that referenced
this pull request
Aug 11, 2025
* wait_for_condition: use sampler, not watcher * wait_for_condition: use sampler, not watcher
myakove
added a commit
that referenced
this pull request
Aug 11, 2025
* Release 4.14.0 * ICSP: set repository_digest_mirrors to None (#1231) (#1233) Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> * Release 4.14.1 * wait_for_condition: use sampler, not watcher (#1250) * Release 4.14.2 * Sync from main (#1253) * add v4.14 to renovate.json * Exapnd MachineConfigPool for creation (#1204) * Exapnd MachineConfigPool for creation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * ICSP: set repository_digest_mirrors to None (#1231) * Add close-stale-issues workflow * [pre-commit.ci] pre-commit autoupdate (#1239) updates: - [github.com/hadialqattan/pycln: v2.1.3 → v2.1.5](hadialqattan/pycln@v2.1.3...v2.1.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * rmemove pre-commit-hooks * remove ruff from pre-commit * Update OWNERS (#1241) * adding omrirh to owners * Update OWNERS Co-authored-by: oharan2 <oharan@redhat.com> --------- Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> Co-authored-by: oharan2 <oharan@redhat.com> * StorageClass - add support for resource creation (#1246) * Update StorageClass class * fix per review * fix per review * wait_for_condition: use sampler, not watcher (#1248) * wait_for_condition: use sampler, not watcher * wait_for_condition: use sampler, not watcher * [pre-commit.ci] pre-commit autoupdate (#1245) updates: - [github.com/PyCQA/autoflake: v2.1.1 → v2.2.0](PyCQA/autoflake@v2.1.1...v2.2.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * disable stale.yml * Update close-stale-issues.yml * [pre-commit.ci] pre-commit autoupdate (#1252) updates: - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --------- Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Omri Bar Haim <obarhaim@redhat.com> Co-authored-by: oharan2 <oharan@redhat.com> Co-authored-by: dalia-frank <65129017+dalia-frank@users.noreply.github.com> Co-authored-by: Ruth Netser <rnetser@redhat.com> * Release 4.14.3 * Add kubevirt market to test_vm (#1257) Co-authored-by: RedHatQE <None> --------- Co-authored-by: redhat-qe-bot <108792105+redhat-qe-bot@users.noreply.github.com> Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Omri Bar Haim <obarhaim@redhat.com> Co-authored-by: oharan2 <oharan@redhat.com> Co-authored-by: dalia-frank <65129017+dalia-frank@users.noreply.github.com> Co-authored-by: Ruth Netser <rnetser@redhat.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.








Short description:
Use TimeoutSampler to wait_for_condition
More details:
When using
watcher()if there is a network issue the wait will break