Correctly export JAVA_OPTS for testing
Change-Id: Iac2eef55145e2008771581e5003e5b21ad7d1c6c
diff --git a/jjb/OnosSystemTest/cho-init.sh b/jjb/OnosSystemTest/cho-init.sh
index 7c0e11f..f4e408a 100644
--- a/jjb/OnosSystemTest/cho-init.sh
+++ b/jjb/OnosSystemTest/cho-init.sh
@@ -44,9 +44,9 @@
echo -e "\n##### set jvm heap size to 8G #####"
-echo ${ONOSJVMHeap}
+echo ${ONOSJAVAOPTS}
-inserted_line="export JAVA_OPTS="${ONOSJVMHeap}""
+inserted_line="export JAVA_OPTS="${ONOSJAVAOPTS}""
sed -i "s/bash/bash\n$inserted_line/" ~/onos/tools/package/bin/onos-service
echo "##### Check onos-service setting..... #####"
@@ -55,4 +55,4 @@
export JAVA_HOME=/usr/local/java/jdk1.8.0_51
#Copy cell file over
-cp ~/choTest3 ~/onos/tools/test/cells/
\ No newline at end of file
+cp ~/choTest3 ~/onos/tools/test/cells/