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

[CT-2971] Write a test for connection failures in dbt debug #8386

Open
1 task done
aranke opened this issue Aug 14, 2023 · 0 comments
Open
1 task done

[CT-2971] Write a test for connection failures in dbt debug #8386

aranke opened this issue Aug 14, 2023 · 0 comments

Comments

@aranke
Copy link
Member

aranke commented Aug 14, 2023

Housekeeping

  • I am a maintainer of dbt-core

Short description

Connection statuses were added to the list of failure statuses in #8351, fixing the bug where dbt debug returned success (0 exit code) when the connection test failed.

However, this PR didn't contain a test for connection failures; the goal of this ticket is to create this test.

Acceptance Criteria

Additional details

See #9297 (comment) for more details on the desired error message.

TLDR: there is currently a confusing error message for failed authentication in Windows:

utf-8' codec can't decode byte 0xe9 in position 103: invalid continuation byte

Impact to Other Teams

N/A

Will backports be required?

No

@github-actions github-actions bot changed the title Create a better test for the debug command [CT-2971] Create a better test for the debug command Aug 14, 2023
@aranke aranke changed the title [CT-2971] Create a better test for the debug command [CT-2971] Write a test for connection failures in dbt debug Nov 6, 2023
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

No branches or pull requests

1 participant