From aa59591ead1692dcf1cfa791b492efed532aacee Mon Sep 17 00:00:00 2001 From: alonshoham Date: Tue, 25 Jun 2019 07:43:32 +0300 Subject: [PATCH] GS-13859 rename gs to gs.sh --- .../insightedge/spark/utils/InsightEdgeAdminUtils.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/insightedge-integration-tests/tests/src/test/scala/org/insightedge/spark/utils/InsightEdgeAdminUtils.scala b/insightedge-integration-tests/tests/src/test/scala/org/insightedge/spark/utils/InsightEdgeAdminUtils.scala index 01a976fd8..a7e5e3eb4 100644 --- a/insightedge-integration-tests/tests/src/test/scala/org/insightedge/spark/utils/InsightEdgeAdminUtils.scala +++ b/insightedge-integration-tests/tests/src/test/scala/org/insightedge/spark/utils/InsightEdgeAdminUtils.scala @@ -158,11 +158,11 @@ object InsightEdgeAdminUtils extends Assertions{ def loadInsightEdgeMasterContainer(id:Int, managerServers:String): String = { val containerId = containersId(s"master$id") - val masterExecCreation = docker.execCreate(containerId, Array("bash", "-c", s"cp -rf /opt/insightedge/deploy / && /opt/insightedge/bin/gs host run-agent --manager --spark-master > $ieLogsPath/master-$id.log 2>&1")) + val masterExecCreation = docker.execCreate(containerId, Array("bash", "-c", s"cp -rf /opt/insightedge/deploy / && /opt/insightedge/bin/gs.sh host run-agent --manager --spark-master > $ieLogsPath/master-$id.log 2>&1")) val masterExecId = masterExecCreation.id() docker.execStart(masterExecId) - val execCreation = docker.execCreate(containerId, Array("bash", "-c", s"/opt/insightedge/bin/gs host run-agent --zeppelin > $ieLogsPath/zeppelin-$id.log 2>&1")) + val execCreation = docker.execCreate(containerId, Array("bash", "-c", s"/opt/insightedge/bin/gs.sh host run-agent --zeppelin > $ieLogsPath/zeppelin-$id.log 2>&1")) val execId = execCreation.id() docker.execStart(execId) @@ -285,14 +285,14 @@ object InsightEdgeAdminUtils extends Assertions{ deployOptions += " --ha" } } - val execCreation = docker.execCreate(containerId, Array("bash", "-c", s"/opt/insightedge/bin/gs space deploy $deployOptions demo >> $ieLogsPath/deploy-space.log 2>&1")) + val execCreation = docker.execCreate(containerId, Array("bash", "-c", s"/opt/insightedge/bin/gs.sh space deploy $deployOptions demo >> $ieLogsPath/deploy-space.log 2>&1")) val execId = execCreation.id() var stream = docker.execStart(execId) } def unDeployDataGrid(containerId: String, masterIp: String): Unit = { - val execCreation = docker.execCreate(containerId, Array("bash", "-c", s"/opt/insightedge/bin/gs pu undeploy demo >> $ieLogsPath/undeploy-space.log 2>&1")) + val execCreation = docker.execCreate(containerId, Array("bash", "-c", s"/opt/insightedge/bin/gs.sh pu undeploy demo >> $ieLogsPath/undeploy-space.log 2>&1")) val execId = execCreation.id() var stream = docker.execStart(execId) }