use of io.fabric8.arquillian.kubernetes.event.Stop in project fabric8 by fabric8io.
the class SessionListener method stop.
public void stop(@Observes Stop event, KubernetesClient client, Controller controller, Configuration configuration, List<KubernetesList> kubeConfigs) throws Exception {
try {
Session session = event.getSession();
cleanupSession(client, controller, configuration, session, kubeConfigs, Util.getSessionStatus(session));
} finally {
if (shutdownHook != null) {
Runtime.getRuntime().removeShutdownHook(shutdownHook);
}
}
}
Aggregations