Permalink
Browse files

Fix test

  • Loading branch information...
sotty committed Jul 31, 2012
1 parent f6eb52c commit 1bffc926d42f8cb268b23b1b7ca630ee244e450c
Showing with 3 additions and 3 deletions.
  1. +3 −3 drools-mas-core/src/test/java/org/drools/mas/core/tests/TestAgent.java
@@ -610,15 +610,15 @@ public void testDynamicResourceAddition() throws Exception{
ACLMessage info = factory.newInformMessage("me", "you", uRLResourceLocator);
mainAgent.tell(info);
- waitForAnswers( info.getId(), 0, 250, 50 );
+ waitForAnswers( info.getId(), 0, 1000, 50 );
for (Object o : target.getObjects()) {
System.err.println("\t Assets AFTER the inform : " + o);
}
//This string comes from newResource.drl
- Assert.assertTrue(target.getObjects().contains("--------@@ It's alive!! @@--------------"));
- Assert.assertNotNull(target.getKnowledgeBase().getRule("org.drools.mas.test", "Test this"));
+ Assert.assertTrue( target.getObjects().contains("--------@@ It's alive!! @@--------------") );
+ Assert.assertNotNull( target.getKnowledgeBase().getRule( "org.drools.mas.test", "Test this") );

0 comments on commit 1bffc92

Please sign in to comment.