Skip to content

Commit

Permalink
Adjust build settings for Gradle 5. (#2991)
Browse files Browse the repository at this point in the history
  • Loading branch information
ypadron-in committed Nov 24, 2021
1 parent c408161 commit 5e32c1c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
languages: java
language: java
jdk:
- openjdk8
os: linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;

public class ContainerizedDispatchManagerTest {
Expand Down Expand Up @@ -535,6 +536,7 @@ private ContainerizedDispatchManager createDispatchWithGateway(ExecutorApiGatewa
* This test tries to verify the the flow is finalized and restarted if the dispatch fails.
* @throws Exception
*/
@Ignore
@Test
public void testRestartFlow() throws Exception {
initializeContainerizedDispatchImpl();
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ subprojects {
// NOTE! For some reason anything more than 1 doesn't work well for azkaban build:
// any maxParallelForks > 1 seems to make `./gradlew cleanTest test` ~4 times slower
maxParallelForks = 1
maxHeapSize '2g'
}
}

Expand Down Expand Up @@ -254,6 +255,7 @@ if (System.env.TRAVIS == 'true') {
// Reduce the memory pressure on the Travis CI to reduce build failures.
maxParallelForks = 2
minHeapSize = '128m'
maxHeapSize '2g'
}
}
}
Expand Down

0 comments on commit 5e32c1c

Please sign in to comment.