Skip to content

Commit

Permalink
fix: calls stopTest to unload the ebpf hooks after running test-sets (#…
Browse files Browse the repository at this point in the history
…168)

Signed-off-by: re-Tick <jain.ritik.1001@gmail.com>
  • Loading branch information
re-Tick authored Feb 23, 2024
1 parent e1613b0 commit 24f9b04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions v2/src/main/java/io/keploy/Keploy.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 24f9b04

Please sign in to comment.