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

fix(userspace/libsinsp): properly include <memory> in libsinsp token_bucket unit test #226

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Feb 23, 2022

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area driver-kmod

/area driver-ebpf

/area libscap

/area libsinsp

/area tests

/area proposals

What this PR does / why we need it:

This fixes build in debian 10 for example.
Discovered while testing falcosecurity/test-infra#636.
It seems like make_shared actually needs this include, otherwise failing with:

error: 'make_shared' is not a member of 'std'

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

…bucket unit test.

This fixes build in debian 10 for example.

Signed-off-by: Federico Di Pierro <[email protected]>
@leogr
Copy link
Member

leogr commented Feb 23, 2022

/test build-libs

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.

/approve

@FedeDP
Copy link
Contributor Author

FedeDP commented Feb 23, 2022

I'd wait for falcosecurity/test-infra#636 to be merged, and then try a retest for build-libs!

@poiana
Copy link
Contributor

poiana commented Feb 23, 2022

LGTM label has been added.

Git tree hash: 056115fe252f77b1ae2e0d0d74a8560d65478e43

@poiana
Copy link
Contributor

poiana commented Feb 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, 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

@FedeDP
Copy link
Contributor Author

FedeDP commented Feb 23, 2022

/test build-libs

2 similar comments
@leogr
Copy link
Member

leogr commented Feb 23, 2022

/test build-libs

@leogr
Copy link
Member

leogr commented Feb 23, 2022

/test build-libs

@poiana poiana merged commit 109398a into master Feb 23, 2022
@poiana poiana deleted the fix_token_bucket_ut branch February 23, 2022 15:55
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