Skip to content

Commit

Permalink
Merge pull request #20810 from totten/master-e2e-timeout
Browse files Browse the repository at this point in the history
AssetBuilderTest - Raise threshold for timeout
  • Loading branch information
totten authored Jul 8, 2021
2 parents e93a814 + a19ebbf commit 4dd98ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/E2E/Core/AssetBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function testInvalid() {
$url = \Civi::service('asset_builder')->getUrl('invalid.json');
try {
$guzzleClient = new \GuzzleHttp\Client();
$guzzleResponse = $guzzleClient->request('GET', $url, array('timeout' => 1));
$guzzleResponse = $guzzleClient->request('GET', $url, array('timeout' => 2));
$this->fail('Expecting ClientException... but it was not thrown!');
}
catch (\GuzzleHttp\Exception\ClientException $e) {
Expand Down

0 comments on commit 4dd98ce

Please sign in to comment.