Remove commons-lang dependencies
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / java / org / opendaylight / controller / cluster / raft / persisted / ApplyJournalEntriesTest.java
index 2d9e7e3391a1098b8bfb38ae05cc57972ad52129..c762c1e2d07c3cb0126232df9b26582db7318f70 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.controller.cluster.raft.persisted;
 
 import static org.junit.Assert.assertEquals;
 
-import org.apache.commons.lang.SerializationUtils;
+import org.apache.commons.lang3.SerializationUtils;
 import org.junit.Test;
 
 /**
@@ -22,7 +22,7 @@ public class ApplyJournalEntriesTest {
     public void testSerialization() {
         final var expected = new ApplyJournalEntries(5);
         final var bytes = SerializationUtils.serialize(expected);
-        assertEquals(108, bytes.length);
+        assertEquals(80, bytes.length);
         final var cloned = (ApplyJournalEntries) SerializationUtils.deserialize(bytes);
 
         assertEquals("getFromIndex", expected.getToIndex(), cloned.getToIndex());