Skip to content

Commit

Permalink
fixed failing unit test due to unmodifiable getMembers()
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Dec 19, 2006
1 parent 41b72c6 commit a7b94ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/junit/org/jgroups/tests/ViewTest.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// $Id: ViewTest.java,v 1.5 2006/08/14 16:10:25 belaban Exp $
// $Id: ViewTest.java,v 1.5.2.1 2006/12/19 09:36:45 belaban Exp $

package org.jgroups.tests;

Expand Down Expand Up @@ -70,8 +70,6 @@ public void testEquals2() {
assertEquals(v1, v2);
View v3=new View(a, 12543, (Vector)members.clone());
assertFalse(v1.equals(v3));
v2.getMembers().add(f);
assertFalse(v1.equals(v2));
}


Expand Down

0 comments on commit a7b94ac

Please sign in to comment.