From 24f9b04b1503cba0f17b0a3033c589d4ba0d4f20 Mon Sep 17 00:00:00 2001 From: Ritik Jain <60597329+re-Tick@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:57:22 +0530 Subject: [PATCH] fix: calls stopTest to unload the ebpf hooks after running test-sets (#168) Signed-off-by: re-Tick --- v2/src/main/java/io/keploy/Keploy.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v2/src/main/java/io/keploy/Keploy.java b/v2/src/main/java/io/keploy/Keploy.java index fc3a55a4..56435498 100644 --- a/v2/src/main/java/io/keploy/Keploy.java +++ b/v2/src/main/java/io/keploy/Keploy.java @@ -476,9 +476,10 @@ public static void runTests(String jarPath) { e.printStackTrace(); } stopUserApplication(); - // unload the ebpf hooks from the kernel - StopTest(); } + logger.debug("All test sets executed and stoping the ebpf hooks" ); + // unload the ebpf hooks from the kernel + StopTest(); } private static void startUserApplication(String jarPath) {