8000 [HttpClient] hopefully fix transient test · symfony/symfony@ddf6f63 · GitHub
[go: up one dir, main page]

Skip to content

Commit ddf6f63

Browse files
nicolas-grekasNicolas Grekas
authored and
Nicolas Grekas
committed
[HttpClient] hopefully fix transient test
1 parent 6b3bbe4 commit ddf6f63

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ install:
4646
- php composer.phar self-update
4747
- copy /Y .github\composer-config.json %APPDATA%\Composer\config.json
4848
- php composer.phar global require --no-progress --no-scripts --no-plugins symfony/flex dev-master
49+
- git config --global user.email ""
50+
- git config --global user.name "Symfony"
4951
- php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit src\Symfony\Contracts
5052
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
5153
- php composer.phar update --no-progress --no-suggest --ansi

src/Symfony/Contracts/HttpClient/Test/HttpClientTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,9 @@ public function testNotATimeout()
597597
{
598598
$client = $this->getHttpClient(__FUNCTION__);
599599
$response = $client->request('GET', 'http://localhost:8057/timeout-header', [
600-
'timeout' => 0.5,
600+
'timeout' => 0.9,
601601
]);
602-
usleep(510000);
602+
usleep(1000000);
603603
$this->assertSame(200, $response->getStatusCode());
604604
}
605605

0 commit comments

Comments
 (0)
0