Skip to content

Fixes random pg failures.#2409

Merged
ErisDS merged 1 commit intoTryGhost:masterfrom
halfdan:2075-pg-errors
Mar 17, 2014
Merged

Fixes random pg failures.#2409
ErisDS merged 1 commit intoTryGhost:masterfrom
halfdan:2075-pg-errors

Conversation

@halfdan
Copy link
Contributor

@halfdan halfdan commented Mar 16, 2014

fixes #2075

  • Updates knex to latest version
  • Fixes expected value in page test
  • Change fixture insertion to be sequential
  • Add orderBy to insertMorePostsTags fixture helper

@halfdan
Copy link
Contributor Author

halfdan commented Mar 16, 2014

Tests failed but those are unrelated - @ErisDS can you restart the two failed runs?

I restarted my tests at https://travis-ci.org/halfdan/Ghost/builds/20888807 5 times and couldn't produce the pg issues, so hope that they are finally gone.

@halfdan
Copy link
Contributor Author

halfdan commented Mar 16, 2014

Ok - Tests seem to be pretty solid right now in regard to pg. #2395 however seems to have introduced new intermittent CasperJS errors.

I would like to raise the cause of pg test errors in the next meeting if possible. Several tests were expecting a specific order in the result sets which aren't guaranteed by the database. MySQL/SQLite seem to consistently return data in the order in was inserted, PostgreSQL however sometimes returns data out of this order.

fixes TryGhost#2075
- Updates knex to latest version
- Fixes expected value in page test
- Change fixture insertion to be sequential
- Add orderBy to insertMorePostsTags fixture helper
ErisDS added a commit that referenced this pull request Mar 17, 2014
@ErisDS ErisDS merged commit 6943fa5 into TryGhost:master Mar 17, 2014
@halfdan halfdan deleted the 2075-pg-errors branch March 17, 2014 16:14
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.

Bug: pg has random tag-related test failures

2 participants