You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2014/07/09 17:24:58 UTC

git commit: udpating the integration test to split the return string from document creator class to extract the app id

Repository: airavata
Updated Branches:
  refs/heads/master dfb744d28 -> 58e8fb9f9


udpating the integration test to split the return string from document creator class to extract the app id


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

Branch: refs/heads/master
Commit: 58e8fb9f96d3837706d2334ebbb1a39bf40bf7c0
Parents: dfb744d
Author: Saminda Wijeratne <sa...@gmail.com>
Authored: Wed Jul 9 11:23:50 2014 -0400
Committer: Saminda Wijeratne <sa...@gmail.com>
Committed: Wed Jul 9 11:23:50 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/58e8fb9f/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 719a664..e4b2931 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
@@ -57,8 +57,9 @@ public class SimpleEchoIT extends SingleAppIntegrationTestBase {
         log.info("========================");
         log.info("Adding applications...");
         DocumentCreatorNew documentCreatorNew = new DocumentCreatorNew(getClient());
-        String appId = documentCreatorNew.createLocalHostDocs();
-
+        String hostAndappId = documentCreatorNew.createLocalHostDocs();
+        String appId = hostAndappId.split(",")[1];
+        
         List<DataObjectType> exInputs = new ArrayList<DataObjectType>();
         DataObjectType input = new DataObjectType();
         input.setKey("echo_input");