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

[chore] - fix test #3641

Merged
merged 2 commits into from
Nov 21, 2024
Merged

[chore] - fix test #3641

merged 2 commits into from
Nov 21, 2024

Conversation

ahrav
Copy link
Collaborator

@ahrav ahrav commented Nov 20, 2024

Description:

This PR fixes the apk handler test by using GreaterOrEqual instead of Equal for chunk count assertions to accommodate the natural growth of detector keywords as a result of new detectors getting added.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@ahrav ahrav requested a review from joeleonjr November 20, 2024 23:58
@ahrav ahrav marked this pull request as ready for review November 21, 2024 00:04
@ahrav ahrav requested review from a team as code owners November 21, 2024 00:04
@ahrav ahrav requested review from a team November 21, 2024 03:52
Copy link
Collaborator

@mcastorina mcastorina left a comment

Choose a reason for hiding this comment

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

whoops, didn't see this when I merged #3646

@joeleonjr
Copy link
Contributor

@ahrav great call. I didn't anticipate the chunks to increase so much with new detectors, but it definitely is acceptable behavior. This fix looks good to me.

Copy link
Contributor

@kashifkhan0771 kashifkhan0771 left a comment

Choose a reason for hiding this comment

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

This is good. I tried to fix it as well in #3646 it worked for some open PR's but not for others. I was wondering what can be the cause.

Since my changes made a conflict in this PR, I resolved them 😃

@ahrav ahrav merged commit eca130f into main Nov 21, 2024
13 checks passed
@ahrav ahrav deleted the chore-fix-test branch November 21, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants