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 thread values #819

Merged
merged 3 commits into from
Jul 3, 2018
Merged

Fix thread values #819

merged 3 commits into from
Jul 3, 2018

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Jul 3, 2018

Fix issue #648 by overriding the configured profile information with the command-line arguments. The Project object is the last thing that really knows about both CLI arguments and profiles so this seemed like the best place to override things.

The do_nothing sql is a bit funny because pg_sleep returns a void type so I couldn't just select pg_sleep(1). I assume there's a better way to do it.

@beckjake beckjake requested a review from cmcarthur July 3, 2018 15:15
@cmcarthur
Copy link
Member

hahahaha i love it. @beckjake does that test fail if you comment out the change? if so, :shipit: . nice work!

@beckjake
Copy link
Contributor Author

beckjake commented Jul 3, 2018

Yeah, the test fails without the fix commit.

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.

3 participants