commit | cc6dc7ee49522940691027e6f8f6b336bea81fc9 | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@opennetworking.org> | Tue Mar 22 10:38:43 2022 +0100 |
committer | Andrea Campanella <andrea@opennetworking.org> | Tue Mar 22 12:39:46 2022 +0100 |
tree | d9b572f7c1a1f2378503326d1a27d711f1780c14 | |
parent | c1e4bf59629e2b18bdc0e857f499b547cc93e3f4 [diff] [blame] |
[VOL-4669] Ignoring port events on disconnected device Change-Id: I74f236b635ca015a6a51aa279672f48074f6981f
diff --git a/impl/src/test/java/org/opencord/olt/impl/OltDeviceListenerTest.java b/impl/src/test/java/org/opencord/olt/impl/OltDeviceListenerTest.java index b3b20e6..576053a 100644 --- a/impl/src/test/java/org/opencord/olt/impl/OltDeviceListenerTest.java +++ b/impl/src/test/java/org/opencord/olt/impl/OltDeviceListenerTest.java
@@ -208,6 +208,7 @@ si.setUniTagList(uniTagInformationList); doReturn(si).when(olt.subsService).get("uni-1"); + doReturn(true).when(olt.deviceService).isAvailable(any()); oltDeviceListener.event(uniAddedDisabledEvent); LinkedBlockingQueue<DiscoveredSubscriber> q = olt.eventsQueues.get(cp); assert !q.isEmpty();