mirror of
https://github.com/predis/predis.git
synced 2026-10-08 04:46:38 +00:00
Add the ability to get a connection by alias from aggregated connections.
Previously it was possible to create a new instance of Predis\Client using the alias of a single connection in a cluster of connections. Now we added the ability to do this also when using master/slave replication.
This commit is contained in:
@@ -385,7 +385,7 @@ class ClientTest extends StandardTestCase
|
||||
/**
|
||||
* @group disconnected
|
||||
* @expectedException Predis\NotSupportedException
|
||||
* @expectedExceptionMessage Retrieving connections by alias is supported only with clustered connections
|
||||
* @expectedExceptionMessage Retrieving connections by alias is supported only with aggregated connections (cluster or replication)
|
||||
*/
|
||||
public function testGetConnectionWithAliasWorksOnlyWithCluster()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user