Make SingleFeatureTest max heap size configurable 62/61462/4
authorVratko Polak <vrpolak@cisco.com>
Mon, 7 Aug 2017 10:11:15 +0000 (12:11 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 11 Aug 2017 07:45:41 +0000 (07:45 +0000)
commit09c7c12f8591ce25e82c3e39c233a6ed36bb1fac
tree4ac5428368aebb5bd275a31d73ba9d4e440f2148
parentf2e0c03ebaa8c5ef3e9296d05ab7a72b774efdf7
Make SingleFeatureTest max heap size configurable

Currently, CSIT jobs of -only- type use 2GB of heap and CSIT
of -all- type use 3GB. But we are seeing occasional failures
in distribution, especially odl-integration-all feature can take
more heap than usual.

Address the TODO item by allowing maximum heap size to be specified
as a system property -- thus can be overridden by downstreams in
their pom.xml.

Change-Id: I84adda01f3bd20180c6d81d3da807d38b5af6fa1
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 1aa0ac18166b3183e7733b50612f9706efa3c8b9)
features-test/src/main/java/org/opendaylight/odlparent/featuretest/SingleFeatureTest.java