Skip to content

Commit b6ca871

Browse files
committed
[skip ci] Mark some more macOS tests as flaky
1 parent a3eb1fd commit b6ca871

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ext/posix/tests/posix_getgrnam_basic.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ Test posix_getgrnam() function : basic functionality
44
posix
55
--SKIPIF--
66
<?php
7-
if (!posix_getgroups()) die('skip - groups unavailable (ci)');
7+
if (!posix_getgroups()) die('skip - groups unavailable (ci)');
8+
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
9+
die("flaky Occasionally segfaults on macOS for unknown reasons");
10+
}
811
?>
912
--FILE--
1013
<?php

ext/posix/tests/posix_getgroups_basic.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Test posix_getgroups() function : basic functionality
33
--EXTENSIONS--
44
posix
5+
--SKIPIF--
6+
<?php
7+
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
8+
die("flaky Occasionally segfaults on macOS for unknown reasons");
9+
}
10+
?>
511
--FILE--
612
<?php
713
echo "Basic test of POSIX getgroups\n";

0 commit comments

Comments
 (0)