mirror of
https://github.com/google/nomulus
synced 2026-01-05 04:56:03 +00: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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user