mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 01:11:50 +02:00
Fix travis build with test isolation
Since we seem to be experiencing weird interference between tests on Travis, run every test in its own JVM until we find a better solution. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=228738848
This commit is contained in:
parent
f94090c415
commit
8bde7285bf
1 changed files with 5 additions and 0 deletions
|
@ -453,6 +453,11 @@ test {
|
|||
exclude fragileTestPatterns
|
||||
exclude outcastTestPatterns
|
||||
|
||||
// Run every test class in its own process.
|
||||
// TODO: Figure out why we need to do this, fix it and then stop doing it.
|
||||
// This setting makes the build take 35 minutes, without it it takes about 10.
|
||||
forkEvery 1
|
||||
|
||||
// Sets the maximum number of test executors that may exist at the same time.
|
||||
maxParallelForks 5
|
||||
}.dependsOn(fragileTest, outcastTest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue