Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Fixed for bug 1197"
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
ThreePhaseCommitCohortProxyTest.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohortProxyTest.java
b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohortProxyTest.java
index 8ff785c8797eecb166c0381ab3e7a92980fa8396..992518e100a0381ab4c915128cc7975510bed2fc 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohortProxyTest.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ThreePhaseCommitCohortProxyTest.java
@@
-41,7
+41,7
@@
public class ThreePhaseCommitCohortProxyTest extends AbstractActorTest {
@Test
public void testCanCommit() throws Exception {
@Test
public void testCanCommit() throws Exception {
- actorContext.setExecuteRemoteOperationResponse(new CanCommitTransactionReply(true));
+ actorContext.setExecuteRemoteOperationResponse(new CanCommitTransactionReply(true)
.toSerializable()
);
ListenableFuture<Boolean> future = proxy.canCommit();
ListenableFuture<Boolean> future = proxy.canCommit();
@@
-51,7
+51,7
@@
public class ThreePhaseCommitCohortProxyTest extends AbstractActorTest {
@Test
public void testPreCommit() throws Exception {
@Test
public void testPreCommit() throws Exception {
- actorContext.setExecuteRemoteOperationResponse(new PreCommitTransactionReply());
+ actorContext.setExecuteRemoteOperationResponse(new PreCommitTransactionReply()
.toSerializable()
);
ListenableFuture<Void> future = proxy.preCommit();
ListenableFuture<Void> future = proxy.preCommit();
@@
-61,7
+61,7
@@
public class ThreePhaseCommitCohortProxyTest extends AbstractActorTest {
@Test
public void testAbort() throws Exception {
@Test
public void testAbort() throws Exception {
- actorContext.setExecuteRemoteOperationResponse(new AbortTransactionReply());
+ actorContext.setExecuteRemoteOperationResponse(new AbortTransactionReply()
.toSerializable()
);
ListenableFuture<Void> future = proxy.abort();
ListenableFuture<Void> future = proxy.abort();
@@
-71,7
+71,7
@@
public class ThreePhaseCommitCohortProxyTest extends AbstractActorTest {
@Test
public void testCommit() throws Exception {
@Test
public void testCommit() throws Exception {
- actorContext.setExecuteRemoteOperationResponse(new CommitTransactionReply());
+ actorContext.setExecuteRemoteOperationResponse(new CommitTransactionReply()
.toSerializable()
);
ListenableFuture<Void> future = proxy.commit();
ListenableFuture<Void> future = proxy.commit();