X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2FThreePhaseCommitCohortProxyTest.java;h=ba7295bcea75a7a3b4f9806549065211a0290f13;hb=a6af137c30470b86d4bc624d4c48cb686495a182;hp=dadd3a99f7f8d0def3b7025d0206c3098d4cb907;hpb=b5cb353e3553a39f576c284119af75ffa5ea66a9;p=controller.git 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 dadd3a99f7..ba7295bcea 100644 --- 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 @@ -260,8 +260,8 @@ public class ThreePhaseCommitCohortProxyTest extends AbstractActorTest { verifyCohortActors(); } + @SuppressWarnings("checkstyle:avoidHidingCauseException") private void propagateExecutionExceptionCause(final ListenableFuture future) throws Exception { - try { future.get(5, TimeUnit.SECONDS); fail("Expected ExecutionException"); @@ -315,7 +315,7 @@ public class ThreePhaseCommitCohortProxyTest extends AbstractActorTest { private final AtomicInteger abortCount = new AtomicInteger(); private volatile AssertionError assertionError; - private CohortActor(final Builder builder) { + CohortActor(final Builder builder) { this.builder = builder; }