Commit 716fe713 authored by alexpott's avatar alexpott

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

parent 63e73e9c
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment