Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Allow tests to run when no databases are setup #106

Merged
merged 1 commit into from
Apr 14, 2016

Conversation

weierophinney
Copy link
Member

Prior to 2.7.1, tests ran when:

  • ext/pgsql was enabled
  • but no databases were setup for pgsql

With the changes introduced to resolve #70, however, the above combination causes cascading failures across the test suite.

Marking the two tests introduced to run in separate processes largely solves the issues. Updating the first test to test for a connection exception prevents a test failure when no database is setup.

Fixes #97.

Prior to 2.7.1, tests ran when:

- ext/pgsql was enabled
- but no databases were setup for pgsql

With the changes introduced to resolve zendframework#70, however, the above
combination causes cascading failures across the test suite.

Marking the two tests introduced to run in separate processes largely
solves the issues. Updating the first test to test for a connection
exception prevents a test failure when no database is setup.
@weierophinney weierophinney added this to the 2.8.1 milestone Apr 14, 2016
@weierophinney weierophinney self-assigned this Apr 14, 2016
@weierophinney weierophinney merged commit 920346e into zendframework:master Apr 14, 2016
weierophinney added a commit that referenced this pull request Apr 14, 2016
weierophinney added a commit that referenced this pull request Apr 14, 2016
weierophinney added a commit that referenced this pull request Apr 14, 2016
@weierophinney weierophinney deleted the hotfix/97 branch April 14, 2016 14:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test suite issue. Configure PostgreSQL charset
1 participant