@Subscribe
    public synchronized void renew(final ClusterStateEvent event) {
        contextManager.getStateContext().switchClusterState(event.getClusterState());
    }
@Test
    void assertRenewInstanceState() {
        ComputeNodeInstanceStateChangedEvent event = new ComputeNodeInstanceStateChangedEvent(
                contextManager.getComputeNodeInstanceContext().getInstance().getMetaData().getId(), InstanceState.OK.name());
        subscriber.renew(event);
        assertThat(contextManager.getComputeNodeInstanceContext().getInstance().getState().getCurrentState(), is(InstanceState.OK));
    }