Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove DataChangeListener protobuff messages
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
AbstractTransactionProxyTest.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTransactionProxyTest.java
b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTransactionProxyTest.java
index cf5bff0846ba8cc3635f958edac2892b00554493..e502c0d428a0ee7cd2fc59a79d8c38800925c3a0 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTransactionProxyTest.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/AbstractTransactionProxyTest.java
@@
-456,8
+456,8
@@
public abstract class AbstractTransactionProxyTest {
Iterator<?> iter = futureResults.iterator();
while(iter.hasNext()) {
Object actual = iter.next();
Iterator<?> iter = futureResults.iterator();
while(iter.hasNext()) {
Object actual = iter.next();
- if(CommitTransactionReply.
SERIALIZABLE_CLASS.isInstanc
e(expReply) &&
- CommitTransactionReply.
SERIALIZABLE_CLASS.isInstanc
e(actual)) {
+ if(CommitTransactionReply.
isSerializedTyp
e(expReply) &&
+ CommitTransactionReply.
isSerializedTyp
e(actual)) {
found = true;
} else if(expReply instanceof ActorSelection && Objects.equal(expReply, actual)) {
found = true;
found = true;
} else if(expReply instanceof ActorSelection && Objects.equal(expReply, actual)) {
found = true;