githubbob42 / mingle2github2

0 stars 1 forks source link

Random hanging sync on slow servers #5621

Open githubbob42 opened 5 years ago

githubbob42 commented 5 years ago

Mingle Card: 5984 Steps to Reproduce

| | |
|-|-|
|**Version #**| |
|**Hardware**| |
|**OS**| |
|**Browser**| |
|**Username**| |
|**Password**|Use LastPass|
|ORG ID| |
|User ID| |
|RayGun Error ID| |
  1. Selenium full suite on a FXQA environment

Expected Result

Suite runs

Actual Result

Random failures where sync hangs

Analysis

Seems like there’s a race condition that surfaces when trying to update projections depending on the way object descriptions are fetched and how they’re related and how slow the server is responding.

In any case, an error occurs when trying to call .then() on a non-promise.

When this happens, the sync indefinitely hangs. Most of the time chrome just hangs too.

Related Cards

Impact Analysis

Developers: Fill in this area during code review.

Test Plan

githubbob42 commented 5 years ago

Pull Request #2876