Repository: camel Updated Branches: refs/heads/master 8ef757a78 -> 19c9651bd
Spark+Hive tests should not be executed if JVM max memory is less than 2 GB. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/19c9651b Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/19c9651b Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/19c9651b Branch: refs/heads/master Commit: 19c9651bd3565846ed343014ebe75d2bad447dda Parents: 8ef757a Author: Henryk Konsek <hekon...@gmail.com> Authored: Fri Dec 11 07:51:41 2015 +0100 Committer: Henryk Konsek <hekon...@gmail.com> Committed: Fri Dec 11 07:51:41 2015 +0100 ---------------------------------------------------------------------- .../java/org/apache/camel/component/spark/SparkProducerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/19c9651b/components/camel-spark/src/test/java/org/apache/camel/component/spark/SparkProducerTest.java ---------------------------------------------------------------------- diff --git a/components/camel-spark/src/test/java/org/apache/camel/component/spark/SparkProducerTest.java b/components/camel-spark/src/test/java/org/apache/camel/component/spark/SparkProducerTest.java index 6c85148..1533f8e 100644 --- a/components/camel-spark/src/test/java/org/apache/camel/component/spark/SparkProducerTest.java +++ b/components/camel-spark/src/test/java/org/apache/camel/component/spark/SparkProducerTest.java @@ -46,7 +46,7 @@ public class SparkProducerTest extends CamelTestSupport { static JavaSparkContext sparkContext = createLocalSparkContext(); - static boolean shouldRunHive = getRuntime().maxMemory() > 1024 * 1024 * 1024; + static boolean shouldRunHive = getRuntime().maxMemory() > 2 * 1024 * 1024 * 1024; static HiveContext hiveContext;