Skip to content

Commit 7ec5fbd

Browse files
committed
Set Xdebug's stack limit to 256 for legacy PHP
1 parent a4130a6 commit 7ec5fbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/FunctionalConnectorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ public function testConnectTwiceWithoutHappyEyeBallsOnlySendsSingleDnsQueryDueTo
7777
*/
7878
public function connectionToRemoteTCP4n6ServerShouldResultInOurIP()
7979
{
80+
// max_nesting_level was set to 100 for PHP Versions < 5.4 which resulted in failing test for legacy PHP
81+
ini_set('xdebug.max_nesting_level', 256);
82+
8083
$loop = Factory::create();
8184

8285
$connector = new Connector($loop, array('happy_eyeballs' => true));

0 commit comments

Comments
 (0)