airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject airavata git commit: Fixed test failures with api server
Date Fri, 15 Jul 2016 18:58:24 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 537098e68 -> 501d3d8f8


Fixed test failures with api server


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

Branch: refs/heads/develop
Commit: 501d3d8f8ab83453fe12d457517796afa98a5de1
Parents: 537098e
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Fri Jul 15 14:58:19 2016 -0400
Committer: Shameera Rathnayaka <shameerainfo@gmail.com>
Committed: Fri Jul 15 14:58:19 2016 -0400

----------------------------------------------------------------------
 .../airavata/api/server/handler/AiravataServerHandlerTest.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/501d3d8f/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
b/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
index a20fe98..ef9e47e 100644
--- a/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
+++ b/airavata-api/airavata-api-server/src/test/java/org/apache/airavata/api/server/handler/AiravataServerHandlerTest.java
@@ -33,6 +33,7 @@ import org.apache.airavata.model.experiment.UserConfigurationDataModel;
 import org.apache.airavata.model.scheduling.ComputationalResourceSchedulingModel;
 import org.apache.airavata.model.security.AuthzToken;
 import org.apache.airavata.model.workspace.Gateway;
+import org.apache.airavata.model.workspace.GatewayApprovalStatus;
 import org.apache.airavata.model.workspace.Notification;
 import org.apache.airavata.model.workspace.NotificationPriority;
 import org.apache.airavata.model.workspace.Project;
@@ -65,6 +66,7 @@ public class AiravataServerHandlerTest {
 
         Gateway gateway = new Gateway();
         gateway.setGatewayId(gatewayId);
+        gateway.setGatewayApprovalStatus(GatewayApprovalStatus.REQUESTED);
         airavataServerHandler.addGateway(new AuthzToken(""), gateway);
 
         ComputeResourceDescription computeResourceDescription = new ComputeResourceDescription();


Mime
View raw message