Permalink
Browse files

Fixed test

  • Loading branch information...
1 parent d08f17c commit 67169599a315e7f5eee4f4da2761f585664a8ea5 Bela Ban committed Feb 6, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/junit/org/jgroups/tests/NAKACK_Test.java
@@ -6,6 +6,8 @@
import org.jgroups.Message;
import org.jgroups.ReceiverAdapter;
import org.jgroups.protocols.DISCARD_PAYLOAD;
+import org.jgroups.protocols.pbcast.NAKACK;
+import org.jgroups.protocols.pbcast.NAKACK2;
import org.jgroups.stack.ProtocolStack;
import org.jgroups.util.Util;
import org.testng.annotations.AfterMethod;
@@ -53,7 +55,7 @@ public void testOutOfBandMessages() throws Exception {
c2.setReceiver(receiver2);
c3.setReceiver(receiver3);
- c1.getProtocolStack().insertProtocol(new DISCARD_PAYLOAD(), ProtocolStack.BELOW, "NAKACK");
+ c1.getProtocolStack().insertProtocol(new DISCARD_PAYLOAD(),ProtocolStack.BELOW,NAKACK.class,NAKACK2.class);
c1.connect("NAKACK_OOB_Test");
c2.connect("NAKACK_OOB_Test");

0 comments on commit 6716959

Please sign in to comment.