Skip to content

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

Merged
merged 5 commits into from
Jun 7, 2021
Merged

Conversation

ace-n
Copy link
Contributor

@ace-n ace-n commented Jun 2, 2021

Fixes #5250 and #5305

@ace-n ace-n requested a review from a team June 2, 2021 04:23
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jun 2, 2021
@product-auto-label product-auto-label bot added api: cloudfunctions Issues related to the Cloud Run functions API. samples Issues that are directly related to samples. labels Jun 2, 2021
@averikitsch averikitsch added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 3, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 3, 2021
@@ -145,6 +145,7 @@
<version>0.9.7</version>
<configuration>
<functionTarget>functions.HelloPubSub</functionTarget>
<port>8083</port>
Copy link
Contributor

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?

Copy link
Contributor Author

@ace-n ace-n Jun 7, 2021

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.

Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I see. lgtm

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>
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I see. lgtm

@lesv lesv merged commit e12dfa8 into master Jun 7, 2021
@lesv lesv deleted the ace-n-patch-2 branch June 7, 2021 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudfunctions Issues related to the Cloud Run functions API. cla: yes This human has signed the Contributor License Agreement. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

functions.ExampleIT: helloHttp_shouldRunWithFunctionsFramework failed
4 participants