mirror of
https://github.com/predis/predis.git
synced 2026-08-31 04:35:05 +00:00
[tests] Use new utility method to skip PUB/SUB tests on CI.
This commit is contained in:
@@ -364,11 +364,9 @@ class ConsumerTest extends PredisTestCase
|
|||||||
*/
|
*/
|
||||||
public function testPubSubAgainstRedisServer(): void
|
public function testPubSubAgainstRedisServer(): void
|
||||||
{
|
{
|
||||||
if (getenv('GITHUB_ACTIONS') || getenv('TRAVIS')) {
|
$this->markTestSkippedOnCIEnvironment(
|
||||||
$this->markTestSkipped(
|
'Test temporarily skipped on CI environments, see note in the body of the test' // TODO
|
||||||
'Test temporarily skipped on CI environments, see note in the body of the test'
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
$parameters = array(
|
$parameters = array(
|
||||||
'host' => constant('REDIS_SERVER_HOST'),
|
'host' => constant('REDIS_SERVER_HOST'),
|
||||||
@@ -415,11 +413,9 @@ class ConsumerTest extends PredisTestCase
|
|||||||
*/
|
*/
|
||||||
public function testPubSubAgainstRedisServerBlocking(): void
|
public function testPubSubAgainstRedisServerBlocking(): void
|
||||||
{
|
{
|
||||||
if (getenv('GITHUB_ACTIONS') || getenv('TRAVIS')) {
|
$this->markTestSkippedOnCIEnvironment(
|
||||||
$this->markTestSkipped(
|
'Test temporarily skipped on CI environments, see note in the body of the test' // TODO
|
||||||
'Test temporarily skipped on CI environments, see note in the body of the test'
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
$parameters = array(
|
$parameters = array(
|
||||||
'host' => constant('REDIS_SERVER_HOST'),
|
'host' => constant('REDIS_SERVER_HOST'),
|
||||||
|
|||||||
Reference in New Issue
Block a user