Skip to content

#1495 Enable parallel tests. #3220

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marciovmartins
Copy link

A container can be shared among different tests classes via container defined in a base class for parallel tests.
I used synchronized because right now the execution is single threaded, booting up one container after other. In the future I would like to change it to run in threads.

Related Issue:
#1495

@marciovmartins marciovmartins changed the title Enable parallel tests. #1495 Enable parallel tests. Sep 15, 2020
@marciovmartins
Copy link
Author

See #1495 (comment)

@bsideup
Copy link
Member

bsideup commented Jan 29, 2021

@marciovmartins if you don't mind, let's keep the PR open (and we will get to it soon), just so that jupiter's parallel mode would work, too (without requiring code changes) :)

@bsideup bsideup reopened this Jan 29, 2021
@stale
Copy link

stale bot commented Jun 18, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.

@driverpt
Copy link

Any ETA on this one?

@driverpt
Copy link

Ping

@pavlo-sv
Copy link

Any plans to review and merge the PR?

starting up only one container for shared containers and setup in some parent class.
@marciovmartins marciovmartins force-pushed the parallelism-junit-jupiter branch from 21325fc to 6b95ba0 Compare January 15, 2024 17:51
@marciovmartins marciovmartins requested a review from a team as a code owner January 15, 2024 17:51
@pavlo-sv
Copy link

@marciovmartins, @bsideup, any ETA, please?

@marciovmartins
Copy link
Author

@pavlo-sv I don't think this will ever happen, see the link to the the issue request and the discussion there.

Part of my test was copied here:
https://github.com/testcontainers/testcontainers-java/blob/main/modules/junit-jupiter/src/test/java/org/testcontainers/junit/jupiter/ParallelExecutionTests.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants