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

br: acceptance setcap on test run #3284

Merged
merged 2 commits into from
Oct 28, 2019
Merged

Conversation

sgmonroy
Copy link
Contributor

@sgmonroy sgmonroy commented Oct 28, 2019

Currently, braccept needs capabilities that are set during acceptance
test setup. Thus everytime time we do make, we get a new binary that
needs capabilities.

This change moves setting the capabilities to the acceptance test run,
allowing to rebuild braccept without having to teardown->setup the
acceptance test every time.


This change is Reviewable

Currently, braccept needs capabilities that are set during acceptance
test setup. Thus everytime time we do make, we get a new binary that
needs capabilities.

This change moves setting the capabilities to the acceptance test run,
allowing to rebuild braccept without having to teardown->setup the
acceptance test every time.
@sgmonroy sgmonroy requested a review from worxli October 28, 2019 09:25
@sgmonroy sgmonroy self-assigned this Oct 28, 2019
Copy link
Contributor

@worxli worxli left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @sgmonroy and @worxli)


acceptance/brutil/common.sh, line 65 at r1 (raw file):

    # XXX(kormat): This is conditional on the binary existing, because when
    # running on CI 'setup' is run on the host, where the binary doesn't exist.

can you add the comment from the PR description here too (second part about why it's done here rather than in test_setup?

Copy link
Contributor Author

@sgmonroy sgmonroy left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @sgmonroy and @worxli)


acceptance/brutil/common.sh, line 65 at r1 (raw file):

Previously, worxli (Lukas Bischofberger) wrote…

can you add the comment from the PR description here too (second part about why it's done here rather than in test_setup?

Update PR and comment.

Copy link
Contributor

@worxli worxli left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@sgmonroy sgmonroy merged commit f95f51c into scionproto:master Oct 28, 2019
@sgmonroy sgmonroy deleted the braccept-setcap branch October 28, 2019 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants