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

Refactored spam prevention tests to use promises #10036

Merged
merged 1 commit into from Oct 23, 2018
Merged

Refactored spam prevention tests to use promises #10036

merged 1 commit into from Oct 23, 2018

Conversation

allouis
Copy link
Contributor

@allouis allouis commented Oct 19, 2018

refs #7470

This refactors the spam prevention tests to all return promises,
hopefully making it easier to see where a test timeout might occur, it
also refactors the tests to remove the count state, which made it hard
to follow exactly what was happening or being tested.

refs #7470

This refactors the spam prevention tests to all return promises,
hopefully making it easier to see where a test timeout might occur, it
also refactors the tests to remove the count state, which made it hard
to follow exactly what was happening or being tested.
@allouis allouis changed the title [HOLD] Removed external state from spam prevention test Refactored spam prevention tests to use promises Oct 23, 2018
@allouis
Copy link
Contributor Author

allouis commented Oct 23, 2018

Re ran the test for node v6 w/ mysql a few times and no failures 👍

@kirrg001
Copy link
Contributor

I think you can close #7470 for now. If any random failure appears again, we can re-open 👍

@allouis
Copy link
Contributor Author

allouis commented Oct 23, 2018

Cool 👍

@allouis allouis merged commit f9da6c7 into TryGhost:master Oct 23, 2018
@allouis allouis deleted the attempt-to-fix-travis-random-failures branch October 23, 2018 10:34
allouis added a commit that referenced this pull request Oct 30, 2018
* master:
  Version bump to 2.4.0
  Updated Ghost-Admin to 2.4.0
  Handled error from express-session middleware (#10084)
  Removed user_id constraint when upserting session (#10085)
  Added Node v10 Support (#10058)
  Removed logic for migration script (2.0/6-replace-fixture-posts.js) (#10081)
  Fixed sanitization issue in subscribers
  Parsed nconf env values (#10077)
  🐛 Fixed missing filename when exporting subscribers csv
  🐛 Fixed pagination for subscribers
  🐛 Fixed cardWidth being lost on 2.0 imports (#10068)
  Corrected 'Content-Length' header by using Buffer.byteLength (#10055)
  Fixed mail api usage of the notifcations api
  Refactored request unit tests to return promises (#10045)
  Refactored spam prevention tests to use promises (#10036)
  Enforced unix line endings (#9871)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants