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 make CloudBatchSubmitJobOperator fail when job fails #44425

Merged
merged 3 commits into from
Nov 30, 2024

Conversation

SuccessMoses
Copy link
Contributor

Fixes : #43744

TODO:

  • Improve unit test for CloudBatchSunbmitJobOperator

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Nov 27, 2024
Copy link
Contributor

@MaksYermak MaksYermak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@potiuk
Copy link
Member

potiuk commented Nov 28, 2024

Yeah - as already planned - can you please add a unit test and get a better description in commit message @SuccessMoses ?

@SuccessMoses
Copy link
Contributor Author

@potiuk I made a minor change to the test. Do you think more test is needed?

Copy link
Contributor

@shahar1 shahar1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@potiuk
Copy link
Member

potiuk commented Nov 30, 2024

Yep. Nice work - the failing tests are also failing in main and we need to fix them separately, so this one is goood to go.

@potiuk potiuk merged commit 4d90f14 into apache:main Nov 30, 2024
61 of 65 checks passed
@SuccessMoses SuccessMoses deleted the fix-gcbatch-operator branch November 30, 2024 19:24
@SuccessMoses
Copy link
Contributor Author

@potiuk Thanks for merging. The failing test on main, is it something that is fixable? I won't like to give it a try too

@potiuk
Copy link
Member

potiuk commented Nov 30, 2024

Workarounded already - and waits for a permanent fix here #44513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CloudBatchSubmitJobOperator incorrectly reports success when defer mode is off
4 participants