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
Lint files with 'integration' build flag #1508
Conversation
'golangci-lint' has to be instructed to not skip code that has build tags. By adding 'integration' to the 'build-tags' property, we ensure that integration tests are linted. Signed-off-by: Jan Schlicht <jan@d2iq.com>
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.
Nice find :)
not sure if we have a flaky test... :(
restarted test |
@kensipe These are errors from asserting the resources are deleted. It's not a flake, but also very unlikely that it's uncovering a bug in KUDO. I'll check what needs to be done to assert resource deletion while also making sure that only existing resources are deleted. |
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
7b78d99
to
6814fab
Compare
Signed-off-by: Jan Schlicht <jan@d2iq.com>
6814fab
to
4228e4e
Compare
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
|
Signed-off-by: Jan Schlicht <jan@d2iq.com>
1b57618
to
ffa3373
Compare
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
Signed-off-by: Jan Schlicht <jan@d2iq.com>
708034f
to
351654c
Compare
d6cc595
to
447ebc6
Compare
Signed-off-by: Jan Schlicht <jan@d2iq.com>
447ebc6
to
6b13823
Compare
Signed-off-by: Jan Schlicht <jan@d2iq.com>
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.
Nice work! 🚢
What this PR does / why we need it:
golangci-lint
has to be instructed to not skip code that has build tags. By addingintegration
to thebuild-tags
property, we ensure that integration tests are linted.