maxmello
05/07/2024, 8:01 AMjunit.jupiter.execution.parallel.enabled=true
+ `junit.jupiter.execution.parallel.mode.default=concurrent`; running in multiple threads), the tests affect each other: Even though each test has its own database, somehow they sometimes “see” another tests database. Is it possible that starting multiple testApplication { … }
in the same JVM, that somehow they affect each other (for example, possibly sharing/overriding config values)? I don’t have any global variables, everything “global” is assigned to application.attributes (using Attributes(concurrent = true)
).Aleksei Tirman [JB]
05/07/2024, 8:10 AMtestApplication
creates a new test server for each call, so there are no shared parts. Can you share the code where the new databases are created?maxmello
05/07/2024, 8:40 AMextendConfig
blockmaxmello
05/07/2024, 8:54 AMAleksei Tirman [JB]
05/07/2024, 9:04 AMmaxmello
05/07/2024, 9:16 AM