-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore(functions): increase retry counts for flaky tests #5345
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
@@ -145,6 +145,7 @@ | |||
<version>0.9.7</version> | |||
<configuration> | |||
<functionTarget>functions.HelloPubSub</functionTarget> | |||
<port>8083</port> |
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.
Should we be hard coding this value, even if it's for the tests? Does this change how a user will deploy this sample?
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.
It shouldn't change deployment or test-running.
(cl/377974756 is the only thing changed by this PR.)
The alternative would be to use some port-provisioning/leasing system, but that seems too complicated IMHO.
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.
I see, can you add a comment for the user on why it's there
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.
I added one to the sample itself (already).
Bearing that in mind, did you also want me to add something to pom.xml
?
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.
Ah I see. lgtm
functions/helloworld/hello-pubsub/src/test/java/functions/ExampleIT.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Averi Kitsch <akitsch@google.com>
@@ -145,6 +145,7 @@ | |||
<version>0.9.7</version> | |||
<configuration> | |||
<functionTarget>functions.HelloPubSub</functionTarget> | |||
<port>8083</port> |
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.
Ah I see. lgtm
Fixes #5250 and #5305