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

improve test timeout in automation smoke tests #13182

Merged
merged 1 commit into from
May 13, 2024

Conversation

anirudhwarrier
Copy link
Contributor

@anirudhwarrier anirudhwarrier commented May 13, 2024

Fixing test timeout issues that was seen during #12688

@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@anirudhwarrier anirudhwarrier changed the title fix TestSetOffchainConfigWithMaxGasPrice timeout improve test timeout in automation smoke tests May 13, 2024
Copy link
Contributor

@Tofel Tofel left a comment

Choose a reason for hiding this comment

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

👍

@anirudhwarrier anirudhwarrier marked this pull request as ready for review May 13, 2024 08:44
@anirudhwarrier anirudhwarrier requested a review from a team as a code owner May 13, 2024 08:44
@anirudhwarrier anirudhwarrier enabled auto-merge May 13, 2024 09:00
@anirudhwarrier anirudhwarrier added this pull request to the merge queue May 13, 2024
@@ -189,7 +189,7 @@ func SetupAutomationBasic(t *testing.T, nodeUpgrade bool) {
g.Expect(counter.Int64()).Should(gomega.BeNumerically(">=", int64(expect)),
"Expected consumer counter to be greater than %d, but got %d", expect, counter.Int64())
}
}, "10m", "1s").Should(gomega.Succeed()) // ~1m for cluster setup, ~2m for performing each upkeep 5 times, ~2m buffer
}, "5m", "1s").Should(gomega.Succeed()) // ~1m for cluster setup, ~2m for performing each upkeep 5 times, ~2m buffer
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why this was bumped from 5 to 10 earlier. But 5 is more than enough.

@@ -1238,7 +1238,7 @@ func TestSetOffchainConfigWithMaxGasPrice(t *testing.T) {
g.Expect(counter.Int64()).Should(gomega.BeNumerically(">", int64(0)),
"Expected consumer counter to be greater than 0, but got %d")
}
}, "2m", "5s").Should(gomega.Succeed()) // ~1m for cluster setup, ~1m for performing each upkeep once, ~2m buffer
}, "4m", "5s").Should(gomega.Succeed()) // ~1m for cluster setup, ~1m for performing each upkeep once, ~2m buffer
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test was flaky and failed multiple times at this step. Increasing wait period to 4m resolves this flake.

Merged via the queue into develop with commit fecce98 May 13, 2024
107 checks passed
@anirudhwarrier anirudhwarrier deleted the AUTO/smoke-test-timeout branch May 13, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants