Skip to content
Snippets Groups Projects
Commit 716fe713 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2784159 by dawehner, hchonov: Remove CURL timeout in BTB

parent 63e73e9c
No related branches found
No related tags found
No related merge requests found
......@@ -260,7 +260,10 @@ protected function initMink() {
$driver = $this->getDefaultDriverInstance();
if ($driver instanceof GoutteDriver) {
$client = \Drupal::httpClient();
// Turn off curl timeout. Having a timeout is not a problem in a normal
// test running, but it is a problem when debugging.
/** @var \GuzzleHttp\Client $client */
$client = $this->container->get('http_client_factory')->fromOptions(['timeout' => NULL]);
// Inject a Guzzle middleware to generate debug output for every request
// performed in the test.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment