When we have parallel requests to Drupal, sometimes function HttpClientFactoryMock::stubStoreRequestHashUsage()
produces an error:
Error RuntimeException: Could not acquire the lock to store the last requests hashes. in Drupal\test_helpers_http_client_mock\HttpClientFactoryMock->stubStoreRequestHashUsage() (line 197
Run several parallel requests to Drupal backend, which executes multiple outgoing HTTP requests.
Debug and rework the logic of the function HttpClientFactoryMock::stubStoreRequestHashUsage()
.
Active
1.5
Code