summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/test/java/io/fd
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-01-04 09:10:39 +0100
committerMichal Cmarada <mcmarada@cisco.com>2019-01-04 09:10:39 +0100
commit3fafe6a6a8be55aff4c71b21b6ee34969a4e801b (patch)
treec8c5720a623b3337357f2b0cec497e2363b484be /v3po/v3po2vpp/src/test/java/io/fd
parentd93a19d6d95d41f2a6287a737a5582ff12f4a0a7 (diff)
Fix MacAddress API change
Change-Id: I516b90dac084f169d1bf1cc74909777d0824b7cb Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src/test/java/io/fd')
-rw-r--r--v3po/v3po2vpp/src/test/java/io/fd/hc2vpp/v3po/l2/ArpTerminationTableEntryCustomizerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/v3po/v3po2vpp/src/test/java/io/fd/hc2vpp/v3po/l2/ArpTerminationTableEntryCustomizerTest.java b/v3po/v3po2vpp/src/test/java/io/fd/hc2vpp/v3po/l2/ArpTerminationTableEntryCustomizerTest.java
index f83852c0a..80ca3a924 100644
--- a/v3po/v3po2vpp/src/test/java/io/fd/hc2vpp/v3po/l2/ArpTerminationTableEntryCustomizerTest.java
+++ b/v3po/v3po2vpp/src/test/java/io/fd/hc2vpp/v3po/l2/ArpTerminationTableEntryCustomizerTest.java
@@ -116,7 +116,7 @@ public class ArpTerminationTableEntryCustomizerTest extends WriterCustomizerTest
address.un = new AddressUnion(ip4Address);
request.ip = address;
MacAddress macAddr = new MacAddress();
- macAddr.bytes = macAddress;
+ macAddr.macaddress = macAddress;
request.mac = macAddr;
request.bdId = BD_ID;
request.isAdd = isAdd;
@@ -136,7 +136,7 @@ public class ArpTerminationTableEntryCustomizerTest extends WriterCustomizerTest
ArgumentCaptor<BdIpMacAddDel> argumentCaptor = ArgumentCaptor.forClass(BdIpMacAddDel.class);
verify(api).bdIpMacAddDel(argumentCaptor.capture());
final BdIpMacAddDel actual = argumentCaptor.getValue();
- assertArrayEquals(expected.mac.bytes, actual.mac.bytes);
+ assertArrayEquals(expected.mac.macaddress, actual.mac.macaddress);
assertArrayEquals(expected.ip.un.getIp4().ip4Address, actual.ip.un.getIp4().ip4Address);
assertEquals(expected.bdId, actual.bdId);
assertEquals(expected.isAdd, actual.isAdd);