Skip to content

Commit f85ff19

Browse files
committed
Reduce traffic for functional tests to max 50KB per test
1 parent 8bbced8 commit f85ff19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/FunctionalInternetTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace React\Tests\Stream;
44

5-
use React\Stream\DuplexResourceStream;
65
use React\EventLoop\Factory;
6+
use React\Stream\DuplexResourceStream;
77
use React\Stream\WritableResourceStream;
88

99
/**
@@ -35,7 +35,7 @@ public function testUploadKilobytePlain()
3535

3636
public function testUploadBiggerBlockPlain()
3737
{
38-
$size = 1000 * 30;
38+
$size = 50 * 1000;
3939
$stream = stream_socket_client('tcp://httpbin.org:80');
4040

4141
$loop = Factory::create();
@@ -79,7 +79,7 @@ public function testUploadKilobyteSecure()
7979

8080
public function testUploadBiggerBlockSecureRequiresSmallerChunkSize()
8181
{
82-
$size = 1000 * 30000;
82+
$size = 50 * 1000;
8383
$stream = stream_socket_client('tls://httpbin.org:443');
8484

8585
$loop = Factory::create();

0 commit comments

Comments
 (0)