mirror of
https://github.com/corda/corda.git
synced 2024-12-18 12:46:29 +00:00
Disable unit test for experimental projects (#2627)
* Disable unit test for experimental projects
This commit is contained in:
parent
fd491d91ff
commit
1bca591dd1
@ -173,6 +173,10 @@ allprojects {
|
||||
if (System.getProperty("test.maxParallelForks") != null) {
|
||||
maxParallelForks = Integer.valueOf(System.getProperty("test.maxParallelForks"))
|
||||
}
|
||||
|
||||
if (project.path.startsWith(':experimental') && System.getProperty("experimental.test.enable") == null) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
group 'net.corda'
|
||||
|
@ -7,3 +7,6 @@ either be moved into the main modules and go through code review, or be deleted.
|
||||
Code placed here can be committed to directly onto master at any time as long as it doesn't break the build
|
||||
(no compile failures or unit test failures). Any commits here that break the build will simply be rolled back.
|
||||
|
||||
To help reduce the build times, unit tests for experimental projects have been disabled and will NOT run alongside
|
||||
the whole project tests run via Gradle. Add parameter ```experimental.test.enable``` (example command is ```gradlew test -Dexperimental.test.enable```
|
||||
to enable those tests.
|
Loading…
Reference in New Issue
Block a user