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 tests on new versions of postgres #331

Merged
merged 4 commits into from
Apr 17, 2013
Merged

fix tests on new versions of postgres #331

merged 4 commits into from
Apr 17, 2013

Conversation

brianc
Copy link
Owner

@brianc brianc commented Apr 17, 2013

Fix test suite to run on both postgres >= 9.2 and postgres <= 9.2.

In 9.2 the postgres team changed some names of some columns in the pg_activity_stat table. This table is used by some tests to look up current queries and connections and forcibly terminate them to simulate disconnects & query errors. Since the columns changed names these tests broke.

It sucks to have to do "if this version run this query or if that version run that query" but that's the best fix I could come up with.

this closes #261

@brianc
Copy link
Owner Author

brianc commented Apr 17, 2013

verified test suite on pg@8.4, pg@9.1, and pg@9.2 ubuntu 64-bit 10.4 node v0.10.4

brianc added a commit that referenced this pull request Apr 17, 2013
fix tests on new versions of postgres
@brianc brianc merged commit 07fd762 into master Apr 17, 2013
@brianc brianc deleted the postgres-gte-9.2 branch April 17, 2013 15:32
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.

problems running integration tests
1 participant