Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Make it possible to run tests against postgres #2829

Merged
merged 3 commits into from Jan 27, 2018
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 26, 2018

Reshuffle the test deatabase setup so that you can run the synapse tests against postgres instead of sqlite.

@richvdh
Copy link
Member Author

richvdh commented Jan 26, 2018

tests are failing because it expects #2830 to have landed

Configure the connectionpool used for unit tests to run the `on_new_connection`
function.
... instead of creating our own special SQLiteMemoryDbPool, whose purpose was a
bit of a mystery.

For some reason this makes one of the tests run slightly slower, so bump the
sleep(). Sorry.
@richvdh richvdh merged commit 2186d7c into develop Jan 27, 2018
@richvdh richvdh deleted the rav/postgres_in_tests branch January 27, 2018 17:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants