Skip to content

Commit cf1657e

Browse files
committed
[Lock] Skip test if posix extension is installed
This isn't installed by default on Fedora
1 parent 10a2d39 commit cf1657e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Lock/Tests/Store/BlockingStoreTestTrait.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ abstract protected function getStore();
3535
*/
3636
public function testBlockingLocks()
3737
{
38+
if (!extension_loaded('posix')) {
39+
$this->markTestSkipped('Extension posix is required.');
40+
}
41+
3842
// Amount a microsecond used to order async actions
3943
$clockDelay = 50000;
4044

0 commit comments

Comments
 (0)