Skip to content

Only use runtime config w/ default network ifaces in one test. #290

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

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

sipsma
Copy link
Contributor

@sipsma sipsma commented Oct 15, 2019

TestAutomaticCNISupport is the only test which requires a runtime config
that has a list of default network interfaces. This change results in
that test being the only one to use such a runtime config, which allows
other tests to optionally not use any network interfaces if required.

Signed-off-by: Erik Sipsma [email protected]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

In general, I think a better model will be for tests to just each generate this runtime config themselves instead of using a set of static ones copied into the docker image (using some helper methods). I created an issue for implementing this, but the change in this PR will unblock in the short-term some needed test updates in the jailer PR.

TestAutomaticCNISupport is the only test which requires a runtime config
that has a list of default network interfaces. This change results in
that test being the only one to use such a runtime config, which allows
other tests to optionally not use any network interfaces if required.

Signed-off-by: Erik Sipsma <[email protected]>
Copy link
Contributor

@xibz xibz left a comment

Choose a reason for hiding this comment

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

:shipit:

@sipsma sipsma merged commit e30ccec into firecracker-microvm:master Oct 15, 2019
@sipsma sipsma deleted the nonetiface branch October 15, 2019 01:01
fangn2 pushed a commit to fangn2/firecracker-containerd that referenced this pull request Mar 23, 2023
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.

3 participants