mirror of
https://github.com/predis/predis.git
synced 2026-10-09 13:26:57 +00:00
Added tests case with FLOAT16 and BFLOAT16 vectors (#1465)
* Added tests case with FLOAT16 and BFLOAT16 vectors * Added version restriction for test * Updated version restrictions
This commit is contained in:
committed by
GitHub
parent
cbef71090b
commit
c5fdfc81ef
@@ -225,7 +225,7 @@ class ClientTest extends PredisTestCase
|
||||
*/
|
||||
public function testConstructorWithReplicationArgument(): void
|
||||
{
|
||||
$replication = new Connection\Replication\MasterSlaveReplication();
|
||||
$replication = new MasterSlaveReplication();
|
||||
|
||||
$factory = new Connection\Factory();
|
||||
$replication->add($factory->create('tcp://host1?alias=master'));
|
||||
@@ -912,7 +912,7 @@ class ClientTest extends PredisTestCase
|
||||
*/
|
||||
public function testGetClientByMethodSupportsSelectingConnectionByCommand(): void
|
||||
{
|
||||
$command = \Predis\Command\RawCommand::create('GET', 'key');
|
||||
$command = Command\RawCommand::create('GET', 'key');
|
||||
$connection = $this->getMockBuilder('Predis\Connection\ConnectionInterface')->getMock();
|
||||
|
||||
$aggregate = $this->getMockBuilder('Predis\Connection\AggregateConnectionInterface')
|
||||
@@ -1209,7 +1209,7 @@ class ClientTest extends PredisTestCase
|
||||
$connection2 = $this->getMockConnection('tcp://127.0.0.1:6382');
|
||||
$connection3 = $this->getMockConnection('tcp://127.0.0.1:6383');
|
||||
|
||||
$aggregate = new \Predis\Connection\Cluster\PredisCluster();
|
||||
$aggregate = new Connection\Cluster\PredisCluster();
|
||||
|
||||
$aggregate->add($connection1);
|
||||
$aggregate->add($connection2);
|
||||
|
||||
Reference in New Issue
Block a user