airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject [01/20] git commit: updating to use the correct host id
Date Fri, 11 Jul 2014 22:21:14 GMT
Repository: airavata
Updated Branches:
  refs/heads/master eed477b8d -> feb304400


updating to use the correct host id


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/8d116e92
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/8d116e92
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/8d116e92

Branch: refs/heads/master
Commit: 8d116e9227f8283aaeb15670a1969e36dab9428c
Parents: 8117f63
Author: Saminda Wijeratne <samindaw@gmail.com>
Authored: Fri Jul 11 18:11:09 2014 -0400
Committer: Saminda Wijeratne <samindaw@gmail.com>
Committed: Fri Jul 11 18:11:09 2014 -0400

----------------------------------------------------------------------
 .../test/java/org/apache/airavata/integration/SimpleEchoIT.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/8d116e92/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
----------------------------------------------------------------------
diff --git a/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
b/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
index e4b2931..68b6a0c 100644
--- a/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
+++ b/modules/integration-tests/src/test/java/org/apache/airavata/integration/SimpleEchoIT.java
@@ -59,6 +59,7 @@ public class SimpleEchoIT extends SingleAppIntegrationTestBase {
         DocumentCreatorNew documentCreatorNew = new DocumentCreatorNew(getClient());
         String hostAndappId = documentCreatorNew.createLocalHostDocs();
         String appId = hostAndappId.split(",")[1];
+        String hostId = hostAndappId.split(",")[0];
         
         List<DataObjectType> exInputs = new ArrayList<DataObjectType>();
         DataObjectType input = new DataObjectType();
@@ -81,8 +82,8 @@ public class SimpleEchoIT extends SingleAppIntegrationTestBase {
                 ExperimentModelUtil.createSimpleExperiment(projectId, "admin", "echoExperiment",
appId, appId, exInputs);
         simpleExperiment.setExperimentOutputs(exOut);
 
-        ComputationalResourceScheduling scheduling = ExperimentModelUtil.createComputationResourceScheduling("localhost",
1, 1, 1, "normal", 0, 0, 1, "sds128");
-        scheduling.setResourceHostId("localhost");
+        ComputationalResourceScheduling scheduling = ExperimentModelUtil.createComputationResourceScheduling(hostId,
1, 1, 1, "normal", 1, 0, 1, "sds128");
+        scheduling.setResourceHostId(hostId);
         UserConfigurationData userConfigurationData = new UserConfigurationData();
         userConfigurationData.setAiravataAutoSchedule(false);
         userConfigurationData.setOverrideManualScheduledParams(false);


Mime
View raw message