Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
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
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java
b/opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java
index 99c7b58724414c97f3c9a2e8e981e8b27dde83a6..7591bb51d8da832a291d95ddc06146e9469507fc 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/SnapshotTrackerTest.java
@@
-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