X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fpersisted%2FAbortTransactionPayloadTest.java;h=62ec2d0c8a0b30116228d74fd07961d26ca1d54b;hb=HEAD;hp=c0f63a5ce85210ce92e78331925ce5bbaafa1a37;hpb=ba87ed620f13823ee798fda4241a2c1db37e2f33;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/persisted/AbortTransactionPayloadTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/persisted/AbortTransactionPayloadTest.java index c0f63a5ce8..62ec2d0c8a 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/persisted/AbortTransactionPayloadTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/persisted/AbortTransactionPayloadTest.java @@ -7,17 +7,8 @@ */ package org.opendaylight.controller.cluster.datastore.persisted; -import static org.junit.Assert.assertEquals; -import java.io.IOException; -import org.apache.commons.lang3.SerializationUtils; -import org.junit.Test; -import org.opendaylight.controller.cluster.datastore.AbstractTest; - -public class AbortTransactionPayloadTest extends AbstractTest { - @Test - public void testPayloadSerDes() throws IOException { - final AbortTransactionPayload template = AbortTransactionPayload.create(nextTransactionId()); - final AbortTransactionPayload cloned = SerializationUtils.clone(template); - assertEquals(template.getIdentifier(), cloned.getIdentifier()); +public class AbortTransactionPayloadTest extends AbstractIdentifiablePayloadTest { + public AbortTransactionPayloadTest() { + super(AbortTransactionPayload.create(newTransactionId(0), 512), 125); } }