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

chore: reduce sleep count in AssertByPollingTest #1651

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

burkedavison
Copy link
Contributor

In response to flake: https://github.com/googleapis/gapic-generator-java/actions/runs/4781551520/jobs/8500121748

This test previous had its duration increased from 100ms to 300ms. To reduce flakiness without increasing max test time, this PR reduces the number of sleeps that occur from 2 to 1, thus reducing the chance of flakiness to allow the timeout to occur.

@burkedavison burkedavison requested a review from a team as a code owner April 24, 2023 13:43
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Apr 24, 2023
@sonarcloud
Copy link

sonarcloud bot commented Apr 24, 2023

[gapic-generator-java-root] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Apr 24, 2023

[java_showcase_integration_tests] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Apr 24, 2023

[java_showcase_unit_tests] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@burkedavison burkedavison merged commit 2106862 into main Apr 26, 2023
@burkedavison burkedavison deleted the assertbypolling-decrease-sleep-count branch April 26, 2023 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants