Skip to content

Reduce intermittent spec failures by making VueJS resource interceptor decrement outstanding resource counts when HTTP response is received

Stan Hu requested to merge improve-vuejs-resource-interceptor into master

Before the count would be reduced 500 ms after a DOM update tick, which could cause race conditions since the DatabaseCleaner could run in the middle of a Rails controller handling the response.

Partial fix to #21197 (closed) and other intermittent spec failures.

Merge request reports