-
Notifications
You must be signed in to change notification settings - Fork 156
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
Test shim as a normal unit test #4917
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure but I think TestProviderShim given all it does is NewUpstreamProvider is adequately tested by the rest of the suite. There's no danger to coverage here - the only downside is not failing faster on some obvious mistakes. But that's fine.
Does the PR have any schema changes?Looking good! No breaking changes found. Maintainer note: consult the runbook for dealing with any breaking changes. |
) | ||
|
||
// This checks that any runtime checks in the underlying provider (with patches) are passed. | ||
func TestProviderShim(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah here it is. This is good!
Upstream failure is unrelated
|
This PR has been shipped in release v6.65.0. |
This removes the
go_test_shim
job defined inextraTests
by making it a normal provider unit test instead of something that needs to be run as part of upstream.We currently attempt to upload coverage as part of this test, but it doesn't work. pulumi/ci-mgmt#1224 will start uploading unit test coverage by default.