We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daf4293 commit 8644f05Copy full SHA for 8644f05
test/Driver/Userland/UserlandDaemonTest.php
@@ -22,8 +22,8 @@ class UserlandDaemonTest extends \PHPUnit_Framework_TestCase
22
*/
23
public function testRequestLimit()
24
{
25
- // Set a memory limit to make sure that it isn't breached
26
- $context = $this->createTestingContext(1, memory_get_peak_usage() + (1024 * 1024));
+ // Set a memory limit to make sure that it isn't breached (added 10MB on top of peak usage)
+ $context = $this->createTestingContext(1, memory_get_peak_usage() + (10 * 1024 * 1024));
27
28
$socket = stream_socket_client($context['address']);
29
$connectionWrapper = new ConnectionWrapper($socket);
0 commit comments