mirror of
https://github.com/predis/predis.git
synced 2026-08-20 13:22:07 +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
|
||||
{
|
||||
if (getenv('GITHUB_ACTIONS') || getenv('TRAVIS')) {
|
||||
$this->markTestSkipped(
|
||||
'Test temporarily skipped on CI environments, see note in the body of the test'
|
||||
);
|
||||
}
|
||||
$this->markTestSkippedOnCIEnvironment(
|
||||
'Test temporarily skipped on CI environments, see note in the body of the test' // TODO
|
||||
);
|
||||
|
||||
$parameters = array(
|
||||
'host' => constant('REDIS_SERVER_HOST'),
|
||||
@@ -415,11 +413,9 @@ class ConsumerTest extends PredisTestCase
|
||||
*/
|
||||
public function testPubSubAgainstRedisServerBlocking(): void
|
||||
{
|
||||
if (getenv('GITHUB_ACTIONS') || getenv('TRAVIS')) {
|
||||
$this->markTestSkipped(
|
||||
'Test temporarily skipped on CI environments, see note in the body of the test'
|
||||
);
|
||||
}
|
||||
$this->markTestSkippedOnCIEnvironment(
|
||||
'Test temporarily skipped on CI environments, see note in the body of the test' // TODO
|
||||
);
|
||||
|
||||
$parameters = array(
|
||||
'host' => constant('REDIS_SERVER_HOST'),
|
||||
|
||||
Reference in New Issue
Block a user