]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Quick hack to try and get tests passing again
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 5 Jun 2023 17:36:27 +0000 (13:36 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 5 Jun 2023 17:36:27 +0000 (13:36 -0400)
Can't replicate on local system because a bug in make makes it difficult to run these tests

raddb/mods-available/redis
raddb/mods-available/redis_ippool

index f8983c05cb15368cc12a5921daaa4e4b11170b68..b4062ac33d56c7719ac5fa019948c29cfd58a282 100644 (file)
@@ -132,7 +132,9 @@ redis {
                #  If `max` is not specified, then it defaults to the number
                #  of workers configured.
                #
-#              max =
+
+               # Hack to make tests pass
+               max = 10
 
                #
                #  spare:: Spare connections to be left idle.
index 5f55236e75b30d9acddf58b1f0a331f6cf0b266b..d3ebc6eadcfad6d5a884ee0f7e0467a51f2b54bb 100644 (file)
@@ -157,7 +157,8 @@ redis_ippool {
                pool {
                        start = 0
                        min = 0
-#                      max = 1
+                       # Hack to make tests pass
+                       max = 10
                        spare = 1
                        uses = 0
                        lifetime = 0