Closed fercam24 closed 2 years ago
@fercam24 Most probably you have a similar issue as described in https://github.com/Fadelis/grpcmock/issues/8 . Since the static
methods (like getGlobalPort
) are based on ThreadLocal
, each parallel execution has it's own instance, and only a single one of those is a running server configured via Junit's GrpcMockExtension
for a single test class.
Hi all, I actually have some problems running my tests with gradle --parallel option. Without it, everything works fine, with it I continuously get
Here is how I set my tests
Do you guys have any idea?