You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboard<
8000
span class="prc-TooltipV2-Tooltip-cYMVY" data-direction="s" role="tooltip" aria-hidden="true" id=":Rhndlab:">Expand all lines: tests/FunctionalIntegrationTest.php
+38-17Lines changed: 38 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,37 @@
2
2
3
3
namespaceReact\Tests\HttpClient;
4
4
5
+
useClue\React\Block;
5
6
useReact\EventLoop\Factory;
6
7
useReact\HttpClient\Client;
7
8
useReact\HttpClient\Response;
9
+
useReact\Promise\Deferred;
10
+
useReact\Promise\Stream;
8
11
useReact\Socket\Server;
9
12
useReact\Socket\ConnectionInterface;
10
13
11
14
class FunctionalIntegrationTest extends TestCase
12
15
{
16
+
/**
17
+
* Test timeout to use for local tests.
18
+
*
19
+
* In practice this would be near 0.001s, but let's leave some time in case
20
+
* the local system is currently busy.
21
+
*
22
+
* @var float
23
+
*/
24
+
constTIMEOUT_LOCAL = 1.0;
25
+
26
+
/**
27
+
* Test timeout to use for remote (internet) tests.
28
+
*
29
+
* In pratice this should be below 1s, but this relies on infrastructure
30
+
* outside our control, so consider this a maximum to avoid running for hours.
0 commit comments