This is an automated email from the ASF dual-hosted git repository.
nic-6443 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new e32d1c7452 test(schema): yield between batches of full garbage
collections (#14253)
e32d1c7452 is described below
commit e32d1c7452d1efcdfd1e7a5d569dc82da6dd9edc
Author: Nic <[email protected]>
AuthorDate: Tue Nov 24 16:13:32 2026 +0800
test(schema): yield between batches of full garbage collections (#14253)
---
t/core/schema.t | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/t/core/schema.t b/t/core/schema.t
index 2cf2793f35..749d23af86 100644
--- a/t/core/schema.t
+++ b/t/core/schema.t
@@ -116,6 +116,10 @@ passed: 30
{i = i, s = "s" .. i, t = {i}})
assert(ok)
assert(err == nil)
+ -- Let the worker service the event broker between batches of
full GCs.
+ if i % 100 == 0 then
+ ngx.sleep(0)
+ end
end
ngx.say("passed")