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

Fixes flaky integration tests by increasing timeouts and retries #32

Merged
merged 10 commits into from
Nov 29, 2024

Conversation

CahidArda
Copy link
Collaborator

No description provided.

testResult = await redis.get<RedisResult>(key)
if (testResult) {
break
}
await new Promise(r => setTimeout(r, 2000));
if (i!==RETRY_COUNT) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
if (i!==RETRY_COUNT) {
if (i!==retryOverride ?? RETRY_COUNT) {

@fahreddinozcan
Copy link
Collaborator

Tests are not passing

@CahidArda
Copy link
Collaborator Author

will be fixed after #35

@CahidArda CahidArda merged commit 003366e into main Nov 29, 2024
17 checks passed
@CahidArda CahidArda deleted the fix-flaky-tests branch November 29, 2024 15:48
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