SAMZA-576; fork a new process for every test in samza-kafka to try and fix TestKafkaSystemAdmin.testShouldGetOldestNewestAndNextOffsets
Project: http://git-wip-us.apache.org/repos/asf/samza/repo Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/769844e5 Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/769844e5 Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/769844e5 Branch: refs/heads/samza-sql Commit: 769844e533b157b504a8459f059dd70ff47fc1eb Parents: 2904bc9 Author: Chris Riccomini <[email protected]> Authored: Fri Mar 13 11:30:36 2015 -0700 Committer: Chris Riccomini <[email protected]> Committed: Fri Mar 13 11:30:36 2015 -0700 ---------------------------------------------------------------------- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/samza/blob/769844e5/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 08583e0..516c83e 100644 --- a/build.gradle +++ b/build.gradle @@ -175,6 +175,11 @@ project(":samza-kafka_$scalaVersion") { minHeapSize = "1560m" maxHeapSize = "1560m" jvmArgs = ["-XX:+UseConcMarkSweepGC", "-server"] + // There appear to be issues between TestKafkaSystemAdmin and + // TestKafkaCheckpointManager both running brokeres and ZK. Restarting the + // gradle worker after every test clears things up. These tests should be + // moved to the integration test suite. + forkEvery = 1 } }
