Regression - some redis tests fail as they create and then don’t have a cache connection (name, non default, server level)

Description

[INFO] [java] [script] check admin cache connections are created [INFO] [java] [script] [INFO] [java] [script] Failed: The needle [LDEV-4342-check-redis-connection] was not found in [[_cacheClear20JLnuHoQWi5EFvGg99CzA]] [INFO] [java] [script] /home/runner/work/Lucee/Lucee/test/tickets/LDEV4342.cfc:46 [INFO] [java] [script] /home/runner/work/Lucee/Lucee/test/_testRunner.cfc:275 [INFO] [java] [script] /home/runner/work/Lucee/Lucee/test/run-tests.cfm:260

after I ran the tests (using redis ext , this is what my CFconfig,.json looked like, the connection is there

 "cache": {   },   "caches": {     "LDEV-4342-check-redis-connection": {       "class": "lucee.extension.io.cache.redis.simple.RedisCache",       "bundleName": "redis.extension",       "custom": "minIdle=8&maxTotal=40&maxIdle=24&testOnBorrow=true&host=localhost&idleTimeout=60000&liveTimeout=3600000&rnd=1&port=6379&timeToLiveSeconds=0&socketTimeout=2000",       "readOnly": "false",       "storage": "false"     }   }

Environment

None

Activity

Show:

Zac Spitzer 8 June 2023 at 08:07
Edited

https://github.com/lucee/Lucee/commit/4bbfebd1799f17e63dc8d8af6e0ebba0b0d251ec

with this change, connections work, but they don’t get listed

Zac Spitzer 8 June 2023 at 07:52

with this change https://github.com/lucee/Lucee/actions/runs/5208689779

check admin cache connections are created

The needle [object] was not found in [[, ]]

Zac Spitzer 8 June 2023 at 07:43
Edited

reverting one of the changes, the cache now works, but it doesn’t get listed

cause: https://github.com/lucee/Lucee/commit/71e589d176b5d4e78b19b6c35a0c1e6c36803ca5

https://github.com/lucee/Lucee/pull/2118

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 8 June 2023 at 06:47
Updated 8 June 2023 at 09:56
Resolved 8 June 2023 at 09:56

Flag notifications