Skip to content

Fix API version in TestSetInterfaceSysctl#48156

Merged
robmry merged 1 commit intomoby:masterfrom
robmry:fix_api_version_in_TestSetInterfaceSysctl
Jul 11, 2024
Merged

Fix API version in TestSetInterfaceSysctl#48156
robmry merged 1 commit intomoby:masterfrom
robmry:fix_api_version_in_TestSetInterfaceSysctl

Conversation

@robmry
Copy link
Copy Markdown
Contributor

@robmry robmry commented Jul 11, 2024

- What I did

Fix API version in TestSetInterfaceSysctl

The test checks that it's possible to set a per-interface sysctl using '--sysctl' - but, after API v1.46, it's not (and driver option 'com.docker.network.endpoint.sysctls' must be used instead).

- How I did it

Use API 1.46 in the test.

- How to verify it

Run the test when the default API has been bumped to 1.47.

- Description for the changelog

The test checks that it's possible to set a per-interface sysctl
using '--sysctl' - but, after API v1.46, it's not (and driver option
'com.docker.network.endpoint.sysctls' must be used instead).

Test added in commit fde80fe
Per-interface sysctls added, with API changes, in commit 0071832

Signed-off-by: Rob Murray <[email protected]>
@robmry robmry added area/networking Networking kind/bugfix PR's that fix bugs version/28.0 labels Jul 11, 2024
@robmry robmry added this to the 28.0.0 milestone Jul 11, 2024
@robmry robmry self-assigned this Jul 11, 2024
@robmry robmry requested review from akerouanton and vvoland July 11, 2024 13:19
Copy link
Copy Markdown
Contributor

@vvoland vvoland left a comment

Choose a reason for hiding this comment

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

LGTM

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