Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky spec when unselecting an investment #3929

Merged
merged 1 commit into from
Feb 26, 2020
Merged

Conversation

javierm
Copy link
Member

@javierm javierm commented Feb 26, 2020

References

Objectives

  • Fix a flaky spec which tests unselecting an investment

Notes

The tests failed sometimes because we performed a synchronous request before checking the previous AJAX request had already finished.

In this spec, we were doing to request at the same time; one to unselect
an investment and another one to filter the investments. If the second
request finished before the first one, the test failed.

Adding an expectation to check the first request has finished before the
second one starts solves the problem.
@javierm javierm added the Specs label Feb 26, 2020
@javierm javierm self-assigned this Feb 26, 2020
@javierm javierm added this to Reviewing in Roadmap via automation Feb 26, 2020
@javierm javierm changed the title Fix flaky unselecting an investment spec Fix flaky spec whenunselecting an investment Feb 26, 2020
@javierm javierm changed the title Fix flaky spec whenunselecting an investment Fix flaky spec when unselecting an investment Feb 26, 2020
@javierm javierm merged commit 1d0cfdd into master Feb 26, 2020
Roadmap automation moved this from Reviewing to Release 1.1.0 Feb 26, 2020
@javierm javierm deleted the fix_unselecting_spec branch February 26, 2020 16:57
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
Fix flaky spec when unselecting an investment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

1 participant