From 29d3f6b71938deab5ed348eb9f936770eba02034 Mon Sep 17 00:00:00 2001 From: Josiah VanderZee Date: Wed, 26 Aug 2026 07:05:17 -0500 Subject: [PATCH] Skip rate_limit AuTests when plugin not built The rate_limit plugin is experimental at this time and not guaranteed to be in the build. Most of the rate_limit AuTests already handle this appropriately, but a few were missing the `SkipUnless` directive. --- tests/gold_tests/pluginTest/rate_limit/rate_limit.test.py | 1 + tests/gold_tests/pluginTest/rate_limit/rate_limit_iprep.test.py | 1 + tests/gold_tests/pluginTest/rate_limit/rate_limit_sni.test.py | 1 + 3 files changed, 3 insertions(+) diff --git a/tests/gold_tests/pluginTest/rate_limit/rate_limit.test.py b/tests/gold_tests/pluginTest/rate_limit/rate_limit.test.py index 573de3e7730..ed6abcc6a34 100644 --- a/tests/gold_tests/pluginTest/rate_limit/rate_limit.test.py +++ b/tests/gold_tests/pluginTest/rate_limit/rate_limit.test.py @@ -21,6 +21,7 @@ Test rate_limit plugin: concurrent limit enforcement, queue drain, and independent limiters. ''' +Test.SkipUnless(Condition.PluginExists('rate_limit.so')) Test.ContinueOnFail = True server = Test.MakeOriginServer("server", delay=3) diff --git a/tests/gold_tests/pluginTest/rate_limit/rate_limit_iprep.test.py b/tests/gold_tests/pluginTest/rate_limit/rate_limit_iprep.test.py index 1cb14c4e432..934d5831490 100644 --- a/tests/gold_tests/pluginTest/rate_limit/rate_limit_iprep.test.py +++ b/tests/gold_tests/pluginTest/rate_limit/rate_limit_iprep.test.py @@ -28,6 +28,7 @@ Test rate_limit ip-rep initialization: reserve() vs resize() regression (Finding #108). ''' +Test.SkipUnless(Condition.PluginExists('rate_limit.so')) Test.ContinueOnFail = True server = Test.MakeOriginServer("server") diff --git a/tests/gold_tests/pluginTest/rate_limit/rate_limit_sni.test.py b/tests/gold_tests/pluginTest/rate_limit/rate_limit_sni.test.py index c531bd94507..f7bc33ebf6b 100644 --- a/tests/gold_tests/pluginTest/rate_limit/rate_limit_sni.test.py +++ b/tests/gold_tests/pluginTest/rate_limit/rate_limit_sni.test.py @@ -27,6 +27,7 @@ Test rate_limit SNI queue expiry: active counter underflow regression (Finding #109). ''' +Test.SkipUnless(Condition.PluginExists('rate_limit.so')) Test.ContinueOnFail = True server = Test.MakeOriginServer("server", delay=4)