Skip to content

Conversation

leahecole
Copy link
Collaborator

@leahecole leahecole commented Oct 17, 2023

Description

Using backoff to retry when the cluster is in an error state will lead to some additional cases where we retry and don't want to. This is a manual retry that will only trip if the cluster somehow has an error during creation.

I also did a refactor of submit_job_test to make it look more like update_cluster_test because it was a little funky

Fixes #9445
Fixes #9513

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Checklist

@leahecole leahecole requested review from a team as code owners October 17, 2023 20:44
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: dataproc Issues related to the Dataproc API. labels Oct 17, 2023
@m-strzelczyk m-strzelczyk merged commit 07e80d4 into main Oct 19, 2023
@m-strzelczyk m-strzelczyk deleted the fix_dataproc branch October 19, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: dataproc Issues related to the Dataproc API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dataproc.snippets.submit_job_test: test_submit_job failed dataproc.snippets.update_cluster_test: test_update_cluster failed

4 participants