From 8e3711bf1091ff0651743987c75ec58afc9aafd3 Mon Sep 17 00:00:00 2001 From: Antoine Jacquemin Date: Thu, 25 Apr 2024 21:01:05 +0200 Subject: [PATCH] remove sleep --- spec/02-integration/22-ai_plugins/01-reports_spec.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/02-integration/22-ai_plugins/01-reports_spec.lua b/spec/02-integration/22-ai_plugins/01-reports_spec.lua index 05f883822eb8..c2e592fdd3b9 100644 --- a/spec/02-integration/22-ai_plugins/01-reports_spec.lua +++ b/spec/02-integration/22-ai_plugins/01-reports_spec.lua @@ -188,8 +188,6 @@ for _, strategy in helpers.each_strategy() do proxy_client:close() - ngx.sleep(0.1) - local _, reports_data = assert(reports_server:join()) reports_data = cjson.encode(reports_data) @@ -226,8 +224,6 @@ for _, strategy in helpers.each_strategy() do proxy_client:close() proxy_client_2:close() - ngx.sleep(0.1) - local _, reports_data = assert(reports_server:join()) reports_data = cjson.encode(reports_data)