[jboss-svn-commits] JBL Code SVN: r22881 - labs/jbossesb/workspace/skeagh/runtime/src/test/java/org/jboss/esb/federate/bus/scenario1.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Sep 18 10:22:46 EDT 2008
Author: tfennelly
Date: 2008-09-18 10:22:45 -0400 (Thu, 18 Sep 2008)
New Revision: 22881
Modified:
labs/jbossesb/workspace/skeagh/runtime/src/test/java/org/jboss/esb/federate/bus/scenario1/BusTest.java
Log:
added comment and removed unnessecary Thread.sleep calls
Modified: labs/jbossesb/workspace/skeagh/runtime/src/test/java/org/jboss/esb/federate/bus/scenario1/BusTest.java
===================================================================
--- labs/jbossesb/workspace/skeagh/runtime/src/test/java/org/jboss/esb/federate/bus/scenario1/BusTest.java 2008-09-18 14:02:34 UTC (rev 22880)
+++ labs/jbossesb/workspace/skeagh/runtime/src/test/java/org/jboss/esb/federate/bus/scenario1/BusTest.java 2008-09-18 14:22:45 UTC (rev 22881)
@@ -66,25 +66,24 @@
inrouter.sendHello("Hi there!!");
Thread.sleep(100); // Allow the message to be delivered
+ // Check that the message has been routed across deployments, from the inrouter
+ // to the service instance and then to the outrouter...
assertEquals("Hi there!!", service.getHelloMessage());
assertEquals("Hi there!!", outrouter.getHelloMessage());
}
finally
{
inrouterDeployment.undeploy();
- Thread.sleep(500);
}
}
finally
{
serviceDeployment.undeploy();
- Thread.sleep(500);
}
}
finally
{
outrouterDeployment.undeploy();
- Thread.sleep(500);
}
}
}.run();
More information about the jboss-svn-commits
mailing list