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=8453368cb18e323da401188a0569721ca911f19c;hb=HEAD;hp=aa2a9dbe1096d3c2e3ea7495da3aa5bd71f94851;hpb=5464f50be733df1bbbe31cf05665d542d3b7c5e7;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 aa2a9dbe10..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,18 +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); } }