Remove commons-lang dependencies
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / persisted / SnapshotTest.java
index 55d9d47376ddf4ad9cf0fa6319713d50d640a0eb..3223e482d6e75eb226a95af5049851a8e0e585ad 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.controller.cluster.raft.persisted;
 import static org.junit.Assert.assertEquals;
 
 import java.util.List;
-import org.apache.commons.lang.SerializationUtils;
+import org.apache.commons.lang3.SerializationUtils;
 import org.junit.Test;
 import org.opendaylight.controller.cluster.raft.MockRaftActorContext.MockPayload;
 import org.opendaylight.controller.cluster.raft.ReplicatedLogEntry;
@@ -24,8 +24,8 @@ public class SnapshotTest {
     @Test
     public void testSerialization() {
         testSerialization(new byte[]{1, 2, 3, 4, 5, 6, 7}, List.of(
-                new SimpleReplicatedLogEntry(6, 2, new MockPayload("payload"))), 548);
-        testSerialization(new byte[]{1, 2, 3, 4, 5, 6, 7, 8, 9}, List.of(), 389);
+                new SimpleReplicatedLogEntry(6, 2, new MockPayload("payload"))), 491);
+        testSerialization(new byte[]{1, 2, 3, 4, 5, 6, 7, 8, 9}, List.of(), 345);
     }
 
     private static void testSerialization(final byte[] state, final List<ReplicatedLogEntry> unapplied,