Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
HTTPRL seems to be the most straightforward library for making multi-threaded parallel requests in Drupal 7. This patch adds HTTPRL as a test dependency so we can write tests for race conditions.
Comment | File | Size | Author |
---|---|---|---|
ubercart-test-dependencies-httprl.patch | 345 bytes | mfb | |
|
Comments
Comment #2
TR CreditAttribution: TR commentedI have no objection to this so long as it accompanies a test case that requires it, e.g. for #2884536: Add a lock to improve prevention of double order completion (race condition). I don't want to add a dependency on speculation that we might needed it.
Comment #3
mfbyes this is a prerequisite for its parent issue. AFAIK testbot cannot run tests that use a new test dependency until that test dependency has been committed.
Comment #4
mfbCan we get this in so it's possible to run tests in the parent issue?
Comment #5
mfbWould love to get some reviews on this, as the race condition is problematic.