airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1454626 - /airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/services/impl/EC2ProviderTest.java
Date Fri, 08 Mar 2013 23:56:19 GMT
Author: heshan
Date: Fri Mar  8 23:56:19 2013
New Revision: 1454626

URL: http://svn.apache.org/r1454626
Log:
Fixing NPE.

Modified:
    airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/services/impl/EC2ProviderTest.java

Modified: airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/services/impl/EC2ProviderTest.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/services/impl/EC2ProviderTest.java?rev=1454626&r1=1454625&r2=1454626&view=diff
==============================================================================
--- airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/services/impl/EC2ProviderTest.java
(original)
+++ airavata/trunk/modules/gfac-core/src/test/java/org/apache/airavata/core/gfac/services/impl/EC2ProviderTest.java
Fri Mar  8 23:56:19 2013
@@ -79,6 +79,8 @@ public class EC2ProviderTest {
         ApplicationDescription ec2Desc = new ApplicationDescription(Ec2ApplicationDeploymentType.type);
         Ec2ApplicationDeploymentType ec2App = (Ec2ApplicationDeploymentType)ec2Desc.getType();
 
+        String serviceName = "Gnome_distance_calculation_workflow";
+        ec2Desc.getType().addNewApplicationName().setStringValue(serviceName);
         ec2App.setJobType(JobTypeType.EC_2);
         ec2App.setExecutable("/home/ec2-user/run.sh");
         ec2App.setExecutableType("sh");



Mime
View raw message