|
@@ -58,13 +58,10 @@ class PhpiredisStreamConnectionTest extends PredisConnectionTestCase
|
|
|
|
|
|
/**
|
|
|
* @group connected
|
|
|
+ * @requires PHP 5.4
|
|
|
*/
|
|
|
public function testPersistentParameterWithFalseLikeValues()
|
|
|
{
|
|
|
- if ($this->isHHVM()) {
|
|
|
- $this->markTestSkipped('This test does not currently work on HHVM.');
|
|
|
- }
|
|
|
-
|
|
|
$connection1 = $this->createConnectionWithParams(array('persistent' => 0));
|
|
|
$this->assertNonPersistentConnection($connection1);
|
|
|
|
|
@@ -80,13 +77,10 @@ class PhpiredisStreamConnectionTest extends PredisConnectionTestCase
|
|
|
|
|
|
/**
|
|
|
* @group connected
|
|
|
+ * @requires PHP 5.4
|
|
|
*/
|
|
|
public function testPersistentParameterWithTrueLikeValues()
|
|
|
{
|
|
|
- if ($this->isHHVM()) {
|
|
|
- $this->markTestSkipped('This test does not currently work on HHVM.');
|
|
|
- }
|
|
|
-
|
|
|
$connection1 = $this->createConnectionWithParams(array('persistent' => 1));
|
|
|
$this->assertPersistentConnection($connection1);
|
|
|
|
|
@@ -104,13 +98,10 @@ class PhpiredisStreamConnectionTest extends PredisConnectionTestCase
|
|
|
|
|
|
/**
|
|
|
* @group connected
|
|
|
+ * @requires PHP 5.4
|
|
|
*/
|
|
|
public function testPersistentConnectionsToSameNodeShareResource()
|
|
|
{
|
|
|
- if ($this->isHHVM()) {
|
|
|
- $this->markTestSkipped('This test does not currently work on HHVM.');
|
|
|
- }
|
|
|
-
|
|
|
$connection1 = $this->createConnectionWithParams(array('persistent' => true));
|
|
|
$connection2 = $this->createConnectionWithParams(array('persistent' => true));
|
|
|
|
|
@@ -124,13 +115,10 @@ class PhpiredisStreamConnectionTest extends PredisConnectionTestCase
|
|
|
|
|
|
/**
|
|
|
* @group connected
|
|
|
+ * @requires PHP 5.4
|
|
|
*/
|
|
|
public function testPersistentConnectionsToSameNodeDoNotShareResourceUsingDifferentPersistentID()
|
|
|
{
|
|
|
- if ($this->isHHVM()) {
|
|
|
- $this->markTestSkipped('This test does not currently work on HHVM.');
|
|
|
- }
|
|
|
-
|
|
|
$connection1 = $this->createConnectionWithParams(array('persistent' => 'conn1'));
|
|
|
$connection2 = $this->createConnectionWithParams(array('persistent' => 'conn2'));
|
|
|
|