Skip to content

Conversation

maestromac
Copy link
Contributor

@maestromac maestromac commented Jun 1, 2019

What type of PR is this? (check all applicable)

  • Misc

Description

Aside from fixing test:

  • I downgraded factory_bot_rails as it is interferring with spring workflow.
  • Simplecov is configured to be disabled by default. Simply adding COVERAGE=true will enable it.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Added to documentation?

  • no documentation needed

@maestromac maestromac changed the title [WIP] Fix flaky test Fix flaky test Jun 3, 2019
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Jun 3, 2019
@maestromac maestromac changed the title Fix flaky test Fix flaky editor spec & change dev configs Jun 3, 2019
@pr-triage pr-triage bot added PR: reviewed-approved bot applied label for PR's where reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Jun 3, 2019
@benhalpern benhalpern merged commit cea7766 into forem:master Jun 3, 2019
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: reviewed-approved bot applied label for PR's where reviewer approves changes labels Jun 3, 2019
@maestromac maestromac deleted the mac/spec/fix-flaky-test branch June 3, 2019 19:13
@rhymes
Copy link
Contributor

rhymes commented Jun 6, 2019

@maestromac what's let_it_be ? Love the creativity of the DSL designers though :D

@maestromac
Copy link
Contributor Author

@rhymes It's like a before(:all) but without the need of manual database cleaning. The doc is here. Using it help reduce race condition errors in test. I can't thoroughly explain why it works but I've stressed test it by running those specs 50 times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants