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

build(test): use testcontainers for postgresql tests #4831

Merged

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Feb 17, 2025

What this PR changes/adds

Make End2End postgresql test to use testconatiners instead of the shared instance

Why it does that

This will avoid dirty data to affect tests from different classes.

Further notes

  • added a PostgresqlEndToEndExtension that can be used for e2e tests, while PostgresqlStoreSetupExtension would be still the choice for test stores integration

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #4761

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

@ndr-brt ndr-brt added refactoring Cleaning up code and dependencies flaky test labels Feb 17, 2025
@ndr-brt ndr-brt force-pushed the 4761-use-testcontainers-for-e2e-tests branch 8 times, most recently from b539110 to 0ba9201 Compare February 18, 2025 13:27
@ndr-brt ndr-brt marked this pull request as ready for review February 18, 2025 13:49
@ndr-brt ndr-brt force-pushed the 4761-use-testcontainers-for-e2e-tests branch from 0ba9201 to 4452ada Compare February 20, 2025 14:43
@ndr-brt ndr-brt force-pushed the 4761-use-testcontainers-for-e2e-tests branch from 4452ada to 4637a9c Compare February 21, 2025 08:19
Copy link
Contributor

@wolf4ood wolf4ood left a comment

Choose a reason for hiding this comment

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

🚀

@ndr-brt ndr-brt merged commit 52695d0 into eclipse-edc:main Feb 24, 2025
21 checks passed
@ndr-brt ndr-brt deleted the 4761-use-testcontainers-for-e2e-tests branch February 24, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky test refactoring Cleaning up code and dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TransferStreamingEndToEndTest.shouldResumeTransfer_whenDataPlaneRestarts is flaky
2 participants