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

helper/resource: Always return the error in testStepNewConfig instead of t.Fatalf() so step numbers are included with error messages #557

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Aug 26, 2020

Closes #539

…stead of t.Fatalf() so step numbers are included with error messages

Reference: hashicorp#539
@paddycarver paddycarver force-pushed the td-testing-missing-step-numbers branch from 5cdce57 to 8775401 Compare August 28, 2020 08:31
Copy link
Contributor

@paddycarver paddycarver left a comment

Choose a reason for hiding this comment

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

Sorry @bflad, merge conflict made me force-push after rebasing on master. Hope you don't mind :( This should be the same change you made, though.

@paddycarver paddycarver merged commit d2f1676 into hashicorp:master Aug 28, 2020
@bflad bflad deleted the td-testing-missing-step-numbers branch August 28, 2020 15:28
@bflad
Copy link
Contributor Author

bflad commented Aug 28, 2020

@paddycarver all good, thank you for fixing the merge conflict! 😄

paddycarver added a commit that referenced this pull request Sep 3, 2020
Fixes testStepNewConfig to always return errors instead of calling
t.Fatal, so we can output the step numbers that failed.
paddycarver added a commit that referenced this pull request Sep 4, 2020
Fixes testStepNewConfig to always return errors instead of calling
t.Fatal, so we can output the step numbers that failed.
@ghost
Copy link

ghost commented Oct 10, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 10, 2020
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.

Step Number Missing from TestCheckFunc Failures (Redux)
2 participants