Skip to content

Commit 74572e1

Browse files
committed
markTestSkipped
1 parent 3c81a0c commit 74572e1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/RedisConnectionTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ public function testSerialize(): void
105105
*/
106106
public function testConnectionTimeout(): void
107107
{
108-
return;
108+
$this->markTestSkipped('This test is skipped due to flakiness.');
109+
109110
$db = $this->getConnection(false);
110111
$db->configSet('timeout', 1);
111112
$this->assertTrue($db->ping());
@@ -185,7 +186,8 @@ public function testConnectionTimeoutRetryWithFirstFail(): void
185186
*/
186187
public function testConnectionTimeoutRetryCount(): void
187188
{
188-
return;
189+
$this->markTestSkipped('This test is skipped due to flakiness.');
190+
189191
$logger = new Logger();
190192
Yii::setLogger($logger);
191193

0 commit comments

Comments
 (0)