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

Allow tests to be executed against pgbouncer #520

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

rafatower
Copy link
Contributor

pgbouncer does not support the --client-min-messages option. Actually
it fails connections if used like that with this somewhat cryptic
message:

psql: ERROR:  Unsupported startup parameter: options

In order to be able to execute tests against pgbouncer port (which is
desirable IMO), we either need to remove that option (with little to no
impact) or change the lines above to choose the batch API port from the
config.

Mind that this affects just test setup.

pgbouncer does not support the `--client-min-messages` option. Actually
it fails connections if used like that with this somewhat cryptic
message:

```
psql: ERROR:  Unsupported startup parameter: options
```

In order to be able to execute tests against pgbouncer port (which is
desirable IMO), we either need to remove that option (with little to no
impact) or change the lines above to choose the batch API port from the
config.

Mind that this affects just test setup.
@rafatower
Copy link
Contributor Author

Note I did not change the file config/environments/test.js.example because we need to add support for it in travis as well.

But I could change my config/environments/test.js, which resulted in this issue: #521

@rafatower rafatower requested a review from dgaubert July 18, 2018 14:25
Copy link
Contributor

@dgaubert dgaubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be pretty innocuous, right?

@rafatower rafatower merged commit b88a458 into master Jul 18, 2018
@rafatower rafatower deleted the allow-tests-on-pgbouncer branch July 18, 2018 15:12
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.

2 participants