mirror of
https://github.com/google/nomulus.git
synced 2025-08-06 09:45:19 +02:00
Add JUnit5 extension to run test twice against different databases (#588)
* Add JUnit5 extension to run test against different databases * Fix typos * Add some explanation
This commit is contained in:
parent
5e596bb389
commit
a0f4013d53
7 changed files with 254 additions and 63 deletions
|
@ -880,6 +880,9 @@ task standardTest(type: FilteringTest) {
|
|||
// forkEvery 1
|
||||
|
||||
// Sets the maximum number of test executors that may exist at the same time.
|
||||
// Also, Gradle executes tests in 1 thread and some of our test infrastructures
|
||||
// depend on that, e.g. DualDatabaseTestInvocationContextProvider injects
|
||||
// different implementation of TransactionManager into TransactionManagerFactory.
|
||||
maxParallelForks 5
|
||||
|
||||
systemProperty 'test.projectRoot', rootProject.projectRootDir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue