@@ -422,7 +422,7 @@ public function testConnectToIceLiteNominationFails()
422
422
423
423
public function testConnectIpv6 ()
424
424
{
425
- if (!$ this ->isSupportIPv6 ()) {
425
+ if (!$ this ->isSupportIPv6 () || getenv ( ' CI ' ) === ' true ' ) {
426
426
$ this ->markTestSkipped ('CI lacks IPv6 ' );
427
427
}
428
428
@@ -510,7 +510,7 @@ public function testConnectInvalidPassword()
510
510
$ connection1 ->setRemotePassword ('wrong-password ' );
511
511
512
512
async (function () use ($ connection1 , $ connection2 ) {
513
- delay (.2 );
513
+ delay (1 );
514
514
$ connection1 ->close ();
515
515
$ connection2 ->close ();
516
516
})();
@@ -541,7 +541,7 @@ public function testConnectInvalidUsername()
541
541
$ connection1 ->setRemotePassword ($ connection2 ->getLocalPassword ());
542
542
543
543
async (function () use ($ connection1 , $ connection2 ) {
544
- delay (.2 );
544
+ delay (1 );
545
545
$ connection1 ->close ();
546
546
$ connection2 ->close ();
547
547
})();
@@ -719,6 +719,10 @@ public function testConnectWithStunServer()
719
719
720
720
public function testConnectWithStunServerDnsLookupError ()
721
721
{
722
+ if (getenv ('CI ' ) === 'true ' ) {
723
+ $ this ->markTestSkipped ('Got conflict on GitHub Actions. ' );
724
+ }
725
+
722
726
$ config = clone $ this ->config ;
723
727
$ config ->setStunServer (['fakestun.test ' , 3478 ]); // invalid stun server domain name
724
728
$ connection1 = new RTCIceConnection ($ config , IceRole::Controlling);
@@ -750,6 +754,10 @@ public function testConnectWithStunServerDnsLookupError()
750
754
751
755
public function testConnectWithStunServerTimeout ()
752
756
{
757
+ if (getenv ('CI ' ) === 'true ' ) {
758
+ $ this ->markTestSkipped ('Got conflict on GitHub Actions. ' );
759
+ }
760
+
753
761
$ config = clone $ this ->config ;
754
762
$ config ->setStunServer (['127.0.0.1 ' , 1234 ]); // Invalid port causes timout
755
763
$ connection1 = new RTCIceConnection ($ config , IceRole::Controlling);
@@ -781,7 +789,7 @@ public function testConnectWithStunServerTimeout()
781
789
782
790
public function testConnectWithStunServerIpv6 ()
783
791
{
784
- if (!$ this ->isSupportIPv6 ()) {
792
+ if (!$ this ->isSupportIPv6 () || getenv ( ' CI ' ) === ' true ' ) {
785
793
$ this ->markTestSkipped ('CI lacks IPv6 ' );
786
794
}
787
795
@@ -1048,6 +1056,10 @@ public function testAddRemoteCandidateMdnsBad()
1048
1056
1049
1057
public function testAddRemoteCandidateMdnsGood ()
1050
1058
{
1059
+ if (getenv ('CI ' ) === 'true ' ) {
1060
+ $ this ->markTestSkipped ('Multicast networking not available on GitHub Actions. ' );
1061
+ }
1062
+
1051
1063
$ mdnsMock = new MdnsServerMock (['test.local ' => '192.168.1.20 ' ]);
1052
1064
$ mdnsMock ->start ();
1053
1065
0 commit comments