Skip to content

Commit

Permalink
fix failing test using duplicate entry point name
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofusco committed Mar 29, 2012
1 parent eed4769 commit eab0428
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7518,7 +7518,7 @@ public void testFireUntilHaltFailingAcrossEntryPoints() throws Exception {
rule1 += "rule testFireUntilHalt\n";
rule1 += "when\n";
rule1 += " Cheese()\n";
rule1 += " $p : Person() from entry-point \"testep\"\n";
rule1 += " $p : Person() from entry-point \"testep2\"\n";
rule1 += "then \n";
rule1 += " list.add( $p ) ;\n";
rule1 += "end\n";
Expand All @@ -7537,7 +7537,7 @@ public void testFireUntilHaltFailingAcrossEntryPoints() throws Exception {
kbase.addKnowledgePackages( kbuilder.getKnowledgePackages() );

final StatefulKnowledgeSession ksession = createKnowledgeSession(kbase);
final WorkingMemoryEntryPoint ep = ksession.getWorkingMemoryEntryPoint( "testep" );
final WorkingMemoryEntryPoint ep = ksession.getWorkingMemoryEntryPoint( "testep2" );

List list = new ArrayList();
ksession.setGlobal( "list",
Expand Down

0 comments on commit eab0428

Please sign in to comment.