Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
6.0.0
-
None
Description
The last test in rediserrortests.ecl -
STRING pluginTO := 'Redis Plugin: ERROR - function timed out internally.'; STRING redisTO := 'Redis Plugin: ERROR - GetOrLock<type> \'timeoutTest2\' on database 0 for 127.0.0.1:6379 failed : Resource temporarily unavailable'; dsTO2 := DATASET(NOFOLD(1), TRANSFORM({string value}, SELF.value := redis.GetOrLockString('timeoutTest' + (string)(1+COUNTER), server, /*database*/, password, 1/*ms*/))); SEQUENTIAL( myRedis.FlushDB(); myRedis.GetOrLockString('timeoutTest2'); OUTPUT(CATCH(dsTO2, ONFAIL(TRANSFORM({ STRING value }, SELF.value := IF(FAILMESSAGE = pluginTO OR FAILMESSAGE = redisTO, 'Timed Out', 'Unexpected Error - ' + FAILMESSAGE))))); );
should also include the error string for when the timeout occurs within the attempt to connect i.e. "Redis Plugin: ERROR - server authentication for 127.0.0.1:6379 failed : Resource temporarily unavailable"
Attachments
Issue Links
- relates to
-
HPCC-14565 Redis plugin - improve timeout test to include additional possible outcomes
-
- Resolved
-