You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2011/11/22 17:16:42 UTC

svn commit: r1205060 - in /incubator/airavata/trunk/modules/test-suite/src/test: java/org/apache/airavata/test/suite/gfac/GramProviderTest.java resources/gram.properties

Author: lahiru
Date: Tue Nov 22 16:16:41 2011
New Revision: 1205060

URL: http://svn.apache.org/viewvc?rev=1205060&view=rev
Log:
fixing https://issues.apache.org/jira/browse/AIRAVATA-217.

Modified:
    incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/gfac/GramProviderTest.java
    incubator/airavata/trunk/modules/test-suite/src/test/resources/gram.properties

Modified: incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/gfac/GramProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/gfac/GramProviderTest.java?rev=1205060&r1=1205059&r2=1205060&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/gfac/GramProviderTest.java (original)
+++ incubator/airavata/trunk/modules/test-suite/src/test/java/org/apache/airavata/test/suite/gfac/GramProviderTest.java Tue Nov 22 16:16:41 2011
@@ -6,7 +6,7 @@
  * regarding copyright ownership.  The ASF licenses this file
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
+ * with the License.  You may obtain a copy of4 the License at
  *
  *   http://www.apache.org/licenses/LICENSE-2.0
  *
@@ -83,6 +83,7 @@ public class GramProviderTest {
         ApplicationDeploymentDescriptionType.ApplicationName name = appDesc.getType().addNewApplicationName();
         name.setStringValue("EchoLocal");
         app.setExecutableLocation("/bin/echo");
+        app.setScratchWorkingDirectory(properties.getProperty("scratch.directory"));
         app.setCpuCount(1);
         ProjectAccountType projectAccountType = ((GramApplicationDeploymentType) appDesc.getType()).addNewProjectAccount();
         projectAccountType.setProjectAccountNumber(properties.getProperty("project.name"));

Modified: incubator/airavata/trunk/modules/test-suite/src/test/resources/gram.properties
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/test-suite/src/test/resources/gram.properties?rev=1205060&r1=1205059&r2=1205060&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/test-suite/src/test/resources/gram.properties (original)
+++ incubator/airavata/trunk/modules/test-suite/src/test/resources/gram.properties Tue Nov 22 16:16:41 2011
@@ -16,7 +16,6 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-
 gram.name=
 gram.host=
 gridftp.endpoint=
@@ -26,3 +25,4 @@ myproxy.server=
 myproxy.username=
 myproxy.password=
 certificate.path=
+scratch.directory=