testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

#1495 Enable parallel tests.

Open marciovmartins opened this issue 5 years ago • 8 comments

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: https://github.com/testcontainers/testcontainers-java/issues/1495

marciovmartins avatar Sep 08 '20 21:09 marciovmartins

See https://github.com/testcontainers/testcontainers-java/issues/1495#issuecomment-770024127

marciovmartins avatar Jan 29 '21 20:01 marciovmartins

@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 avatar Jan 29 '21 20:01 bsideup

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.

stale[bot] avatar Jun 18 '21 23:06 stale[bot]

Any ETA on this one?

driverpt avatar Nov 29 '22 14:11 driverpt

Ping

driverpt avatar May 17 '23 14:05 driverpt

Any plans to review and merge the PR?

pavlo-sv avatar Jan 10 '24 18:01 pavlo-sv

@marciovmartins, @bsideup, any ETA, please?

pavlo-sv avatar Mar 15 '24 15:03 pavlo-sv

@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

marciovmartins avatar Mar 15 '24 15:03 marciovmartins