Add ability to compose java command according to version
[integration/test.git] / csit / suites / bgpcep / pcepuser / pcepuser.robot
index fa1e7625b145020e24a30a8bc2254dc3a50eeae7..c1d37b19a5eb38e631c43bcd4db951f25a634ce2 100644 (file)
@@ -34,7 +34,7 @@ Topology_Precondition
 
 Start_Pcc_Mock
     [Documentation]    Execute pcc-mock on Mininet, fail is Open is not sent, keep it running for next tests.
-    ${command}=    Set_Variable    java -jar ${filename} --local-address ${MININET} --remote-address ${CONTROLLER} 2>&1 | tee pccmock.log
+    ${command}=    NexusKeywords.Compose_Full_Java_Command    -jar ${filename} --local-address ${MININET} --remote-address ${CONTROLLER} 2>&1 | tee pccmock.log
     Log    ${command}
     Write    ${command}
     Read_Until    started, sent proposal Open