Closed zaiddabaeen closed 3 years ago
I'm not sure I understand what's happening here. If I understand you correctly the connection is made correctly but then crashes when selecting a different database, while using PhpRedis. In that case this would be a bug in PhpRedis right, not the bundle?
3 years without response = sorry, we have to close this
In CI, the pipeline is tested using atoum PHP tests. Redis clients are defined for cache and sessions storage and so on, hence there is no need for Redis in the test environment, nor is it called anywhere in the unit tests. One of the redis clients I am using uses database 1 rather than the default.
In the
app/cache/test/appTestProjectContainer.php
file:Select() method fails with
Redis Server went away
. All the other clients do not throw exceptions. This exception should be handled for test environments.