mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-13 16:56:14 +02:00
[ONOS-6266] 'garbageCollect' is not working for groups after ONOS restart
Change-Id: I4285d610f245ee987fa876c7ba951fe926854b19
This commit is contained in:
parent
ee14a8b496
commit
247dfd82a5
@ -164,8 +164,9 @@ public class DistributedGroupStore
|
||||
|
||||
|
||||
@Activate
|
||||
public void activate() {
|
||||
public void activate(ComponentContext context) {
|
||||
cfgService.registerProperties(getClass());
|
||||
modified(context);
|
||||
KryoNamespace.Builder kryoBuilder = new KryoNamespace.Builder()
|
||||
.register(KryoNamespaces.API)
|
||||
.nextId(KryoNamespaces.BEGIN_USER_CUSTOM_ID)
|
||||
|
||||
@ -133,7 +133,7 @@ public class DistributedGroupStoreTest {
|
||||
groupStoreImpl.clusterCommunicator = new ClusterCommunicationServiceAdapter();
|
||||
groupStoreImpl.mastershipService = new MasterOfAll();
|
||||
groupStoreImpl.cfgService = new ComponentConfigAdapter();
|
||||
groupStoreImpl.activate();
|
||||
groupStoreImpl.activate(null);
|
||||
groupStore = groupStoreImpl;
|
||||
auditPendingReqQueue =
|
||||
TestUtils.getField(groupStoreImpl, "auditPendingReqQueue");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user