From 106d4f047f9536eba924e457228e303c3adf58a5 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Sat, 9 Nov 2024 09:32:35 +0800 Subject: [PATCH] after_each --- spec/02-integration/19-incrmental_sync/01-sync_spec.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/02-integration/19-incrmental_sync/01-sync_spec.lua b/spec/02-integration/19-incrmental_sync/01-sync_spec.lua index 3b1af4f02e21..2258232d72ac 100644 --- a/spec/02-integration/19-incrmental_sync/01-sync_spec.lua +++ b/spec/02-integration/19-incrmental_sync/01-sync_spec.lua @@ -39,6 +39,11 @@ describe("Incremental Sync RPC #" .. strategy, function() helpers.stop_kong() end) + after_each(function() + helpers.clean_logfile("servroot2/logs/error.log") + helpers.clean_logfile() + end) + describe("sync works", function() local route_id