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

feat: make async test timeout overrideable #4241

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

database tests that test the behaviour of leases now use a configurable/overrideable test timeout. That way, tests that use a remote database can increase the timeout.

Why it does that

I noticed that some tests using CosmosDB (in the Technology-Azure repo) fail because 500ms is simply not enough for a cold connection to reliably return data.

Further notes

  • A subsequent PR in the tech repo will follow that then makes use of this feature.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger merged commit 6e7bb67 into eclipse-edc:main Jun 6, 2024
18 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/make_async_test_timeout_overridable branch June 6, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flaky test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants