Fix FindBugs warnings in sal-akk-raft
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / behaviors / SnapshotTrackerTest.java
index 99c7b58..7591bb5 100644 (file)
@@ -65,7 +65,7 @@ public class SnapshotTrackerTest {
             tracker2.addChunk(3, chunk3, Optional.<Integer>absent());
             Assert.fail();
         } catch (SnapshotTracker.InvalidChunkException e) {
-            e.getMessage().startsWith("Invalid chunk");
+            // expected
         }
 
         // The first chunk's index must at least be FIRST_CHUNK_INDEX