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

update(tests): remove token_bucket unit tests #1798

Merged

Conversation

jasondellaluce
Copy link
Contributor

@jasondellaluce jasondellaluce commented Nov 18, 2021

Signed-off-by: Jason Dellaluce jasondellaluce@gmail.com

What type of PR is this?

/kind cleanup

Any specific area of the project related to this PR?

/area tests

What this PR does / why we need it:

This removes the leftover unit tests for token_bucket, which was recently removed from the Falco repository and is now only part of libsinsp. See 👇🏼
#1753
falcosecurity/libs@ca51f17

Which issue(s) this PR fixes:

Special notes for your reviewer:

We may want to port this tests to libsisnp in the future, which however uses a different framework for unit testing. I opened an issue in libs for this: falcosecurity/libs#137

Does this PR introduce a user-facing change?:

NONE

leogr
leogr previously approved these changes Nov 22, 2021
Copy link
Member

@leogr leogr left a comment

Choose a reason for hiding this comment

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

Good catch.

I also believe it's a good idea to port the test to libs. 👍

/approve

@poiana
Copy link
Contributor

poiana commented Nov 22, 2021

LGTM label has been added.

Git tree hash: 925cda58dede0c0cfcfc7030efe41b65e8b591a1

@poiana
Copy link
Contributor

poiana commented Nov 22, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jasondellaluce, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

mstemm
mstemm previously approved these changes Dec 6, 2021
Copy link
Contributor

@mstemm mstemm left a comment

Choose a reason for hiding this comment

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

Thank you for noticing this!

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
@jasondellaluce jasondellaluce dismissed stale reviews from mstemm and leogr via 345f9e8 December 21, 2021 16:30
@jasondellaluce jasondellaluce force-pushed the test/remove-token-bucket-test branch from b214022 to 345f9e8 Compare December 21, 2021 16:30
@poiana poiana removed the lgtm label Dec 21, 2021
@poiana poiana added the lgtm label Dec 21, 2021
@poiana
Copy link
Contributor

poiana commented Dec 21, 2021

LGTM label has been added.

Git tree hash: adc2244958343205864ee21f06f02cdef94337d9

@poiana poiana merged commit 2ee0645 into falcosecurity:master Jan 4, 2022
@jasondellaluce jasondellaluce deleted the test/remove-token-bucket-test branch January 4, 2022 15:41
@leogr
Copy link
Member

leogr commented Jan 4, 2022

/milestone 0.31.0

@poiana poiana added this to the 0.31.0 milestone Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants