Skip to content

Fix intermittently failing tests for SFTPOperator#26685

Merged
potiuk merged 1 commit intoapache:mainfrom
pauldalewilliams:fix-sftpoperator-tests
Sep 26, 2022
Merged

Fix intermittently failing tests for SFTPOperator#26685
potiuk merged 1 commit intoapache:mainfrom
pauldalewilliams:fix-sftpoperator-tests

Conversation

@pauldalewilliams
Copy link
Contributor

@pauldalewilliams pauldalewilliams commented Sep 26, 2022

Fixes SFTPOperator tests that are intermittently failing (see #26666 as an example)

I think more refactoring of these tests could be a good thing, but I'm not comfortable enough with testing yet to feel confident in making those changes. I believe the changes I made here keep the original tests as close to their current structure as possible while addressing the issues that cause them to fail intermittently (depending on side effects of previous tests).

Edit: Forgot to mention I ran the tests locally 40 times to make sure this actually resolves the issues and all 40 runs were successful.

@potiuk
Copy link
Member

potiuk commented Sep 26, 2022

Edit: Forgot to mention I ran the tests locally 40 times to make sure this actually resolves the issues and all 40 runs were successful.

What a dedication :). Thanks a lot for those :)

@potiuk potiuk merged commit 2f86e6d into apache:main Sep 26, 2022
@pauldalewilliams
Copy link
Contributor Author

Edit: Forgot to mention I ran the tests locally 40 times to make sure this actually resolves the issues and all 40 runs were successful.

What a dedication :). Thanks a lot for those :)

Haha, it was the only way I felt I could be sure I wasn't just getting lucky! 10 times in a row seemed like it was good enough, but I did another 30 just to be sure. 😀

@pauldalewilliams pauldalewilliams deleted the fix-sftpoperator-tests branch September 27, 2022 01:42
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