Skip to content

Commit 8644f05

Browse files
Increased memory envelope on userland daemon test
1 parent daf4293 commit 8644f05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Driver/Userland/UserlandDaemonTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class UserlandDaemonTest extends \PHPUnit_Framework_TestCase
2222
*/
2323
public function testRequestLimit()
2424
{
25-
// Set a memory limit to make sure that it isn't breached
26-
$context = $this->createTestingContext(1, memory_get_peak_usage() + (1024 * 1024));
25+
// Set a memory limit to make sure that it isn't breached (added 10MB on top of peak usage)
26+
$context = $this->createTestingContext(1, memory_get_peak_usage() + (10 * 1024 * 1024));
2727

2828
$socket = stream_socket_client($context['address']);
2929
$connectionWrapper = new ConnectionWrapper($socket);

0 commit comments

Comments
 (0)