-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Release 1.7.2 causes go vet errors when embedding suite.Suite #1199
Comments
We faced the same issue upgrading to 1.7.2. Tried some approaches to fix this but found no way which wouldn't change the way Suite is used so far. |
I'm seeing this issue on 1.8.0. It looks like the the non-pointer lock is still on master branch May we re-open this? |
The change was reverted because it caused a lot of panics (issues linked in PR). I don't expect this mutex to evert be made into a pointer again. Re-opening this issue would be valid but the fix needs to be different. I think this would be fixed by #1109 which is an API change in suite that is needed to fix multiple concurrency issues, it would have to go in a testify v2. |
Thanks for the explanation @brackendawson ! I don't have permissions to re-open the issue, so will you please do it so it doesn't get lost? or Maybe @AndreasKl can do it |
Testify >= 1.7.2 contains an issue that breaks go vetting when using custom test suites: stretchr/testify#1199 This is unfortunately not going to be changed in the v1 branch of testify. Since the go-avro module's test suite does not seem to depend on behaviors of later versions of testify, I would like to propose reverting to v1.7.1
Testify >= 1.7.2 contains an issue that breaks go vetting when using custom test suites: stretchr/testify#1199 This is unfortunately not going to be changed in the v1 branch of testify. Since the go-avro module's test suite does not seem to depend on behaviors of later versions of testify, I would like to propose reverting to v1.7.1 Signed-off-by: Nathan J. Mehl <[email protected]>
Testify >= 1.7.2 contains an issue that breaks go vetting when using custom test suites: stretchr/testify#1199 This is unfortunately not going to be changed in the v1 branch of testify. Since the go-avro module's test suite does not seem to depend on behaviors of later versions of testify, I would like to propose reverting to v1.7.1 Signed-off-by: Nathan J. Mehl <[email protected]>
For anyone using golangci-lint this item in the
|
Our dependapot builds started to fail for some services. We are embedding
suite.Suite
to create custom integration test suites.With the 1.7.2 release and due to adding a sync.Mutex
go vet
now fails on this code base.The text was updated successfully, but these errors were encountered: