Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: fix more flaky tests on Windows with Postgres #15629

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 11 commits into from
Nov 26, 2024

Conversation

@hugodutka hugodutka changed the title chore: skip flaky tests on Windows with Postgres chore: fix more flaky tests on Windows with Postgres Nov 25, 2024
@hugodutka hugodutka marked this pull request as ready for review November 25, 2024 18:47
})
require.NoError(t, err, "insert workspace agent script")
return timing
for i := 0; i < 2500; i++ {
Copy link
Member

Choose a reason for hiding this comment

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

I'm guessing you didn't mean to add leave this loop

Copy link
Contributor Author

Choose a reason for hiding this comment

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

2500 retries was a little excessive, lowered it to 10

Comment on lines +10 to +13
WaitShort = 30 * time.Second
WaitMedium = 40 * time.Second
WaitLong = 70 * time.Second
WaitSuperLong = 240 * time.Second
Copy link
Member

Choose a reason for hiding this comment

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

💀

@hugodutka hugodutka merged commit 83c493e into main Nov 26, 2024
27 checks passed
@hugodutka hugodutka deleted the hugodutka/skip-flaky-pg-windows-tests branch November 26, 2024 10:56
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.

2 participants