-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore(functions): fix flaky tests + update dir property #5305
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
Conversation
} catch (IOException e) { | ||
return true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably say a bit more here. Why is this the right thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See retryOnResultPredicate
on this page.
Happy to link to that in a comment, if that would help?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, PTAL?
functions/helloworld/hello-gcs/src/test/java/functions/ExampleIT.java
Outdated
Show resolved
Hide resolved
functions/helloworld/hello-pubsub/src/test/java/functions/ExampleIT.java
Outdated
Show resolved
Hide resolved
Lint
|
@lesv thanks - see this |
This should fix #5250 and #5257
(I wasn't able to reproduce them locally, but this makes the tests themselves more fault-tolerant.)