Limit heap size in Groovy integration tests 89/137089/3
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 29 Jan 2024 14:28:06 +0000 (14:28 +0000)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Thu, 1 Feb 2024 13:07:56 +0000 (13:07 +0000)
commit7a35d9243774715c93b7d7dc53ff80333b3855f6
tree53075fefc80db63bfb66018924da86abd86117ce
parent0f6f416f45d5ad0e9bba67d459858995196f7a73
Limit heap size in Groovy integration tests

Configure maven to limit heap size in integration tests to
help detect OutOfMemory errors in groovy tests.
The figure 512MB was chosen as this is 25% of 2GB
(JVM by default uses 25% of total memory for heap).

Issue-ID: CPS-2052
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ie1160f85ba3970e4c43fccee41c2821dc83a8e53
integration-test/pom.xml