You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/06/15 22:21:44 UTC
svn commit: r1350780 -
/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
Author: heshan
Date: Fri Jun 15 20:21:44 2012
New Revision: 1350780
URL: http://svn.apache.org/viewvc?rev=1350780&view=rev
Log:
Fixing a typo that will result in running a wrong workflow.
Modified:
incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
Modified: incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java?rev=1350780&r1=1350779&r2=1350780&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java Fri Jun 15 20:21:44 2012
@@ -55,9 +55,8 @@ public class SimpleForEachWorkflowTest {
@Test
public void testScheduleDynamically() throws IOException, URISyntaxException, WorkflowException {
logger.info("Running SimpleForEachWorkflowTest...");
- URL systemResource = this.getClass().getClassLoader().getSystemResource("SimpleEcho.xwf");
+ URL systemResource = this.getClass().getClassLoader().getSystemResource("SimpleForEach.xwf");
Workflow workflow = new Workflow(WorkflowTestUtils.readWorkflow(systemResource));
- ((InputNode) workflow.getGraph().getNode("input")).setDefaultValue("1");
XBayaConfiguration conf = WorkflowTestUtils.getConfiguration();
AiravataRegistry registry = conf.getJcrComponentRegistry()==null? null:conf.getJcrComponentRegistry().getRegistry();
WorkflowInterpreterConfiguration workflowInterpreterConfiguration = new WorkflowInterpreterConfiguration(workflow, UUID.randomUUID().toString(),conf.getMessageBoxURL(), conf.getBrokerURL(), registry, conf, null,null,null,true);