-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use 'FLUSHDB' with redis-cluster #7
Comments
What's the exception? |
Exception 'Predis\NotSupportedException' with message 'Cannot use 'FLUSHDB' with redis-cluster.' |
I wrote a couple of tests connecting to a Redis cluster. Can I change CI using single Docker config locally and in Github Actions? How in general are local tests being launched now? |
Isn't it possible to lauch cluster as a service in actions?
With a local instance of PHP/Redis. |
Yes it is possible |
@samdark Then I added identical tests with a connection to the cluster |
Maybe check the activity of the cluster like this? And if it is active, then execute another command to clear
|
…leteThrowExceptionForInvalidKey
…leteMultipleThrowExceptionForInvalidKeys, testGetMultipleThrowExceptionForEmptyArray, testSetMultipleThrowExceptionForEmptyArray tests
What steps will reproduce the problem?
$this->instance->clear()
What is the expected result?
Completed cleaning
What do you get instead?
I get an exception
Additional info
The text was updated successfully, but these errors were encountered: