Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Modifying integration test due to new ipam options in swarmkit#35103

Merged
yongtang merged 2 commits into
moby:mastermoby/moby:masterfrom
abhi:masterabhi/docker:masterCopy head branch name to clipboard
Oct 10, 2017
Merged

Modifying integration test due to new ipam options in swarmkit#35103
yongtang merged 2 commits into
moby:mastermoby/moby:masterfrom
abhi:masterabhi/docker:masterCopy head branch name to clipboard

Conversation

@abhi

@abhi abhi commented Oct 6, 2017

Copy link
Copy Markdown
Contributor

- What I did
Modified integration test to support checking for newly added ipam options. Vendored libnetwork and swarmkit.
- How I did it
Added check in integration-cli/docker_cli_swarm_test.go
- How to verify it
Run integration test

Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
@thaJeztah

Copy link
Copy Markdown
Member

@abhi @fcrisciani looks like this bump does not have the latest commits that #35143 had (moby/libnetwork@0f08d31...930c292)

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

two small nits, but otherwise look local changes look good

c.Assert(err, checker.IsNil, check.Commentf(out))
c.Assert(strings.TrimSpace(out), checker.Equals, "map[foo:bar]")
c.Assert(strings.TrimSpace(out), checker.Contains, "foo:bar")
c.Assert(strings.TrimSpace(out), checker.Contains, "com.docker.network.ipam.serial:true")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like this line uses spaces instead of tabs for indentation

c.Assert(err, checker.IsNil, check.Commentf(out))
c.Assert(strings.TrimSpace(out), checker.Equals, "map[foo:bar]")
c.Assert(strings.TrimSpace(out), checker.Contains, "foo:bar")
c.Assert(strings.TrimSpace(out), checker.Contains, "com.docker.network.ipam.serial:true")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same here (spaces instead of tabs)

Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
@abhi

abhi commented Oct 9, 2017

Copy link
Copy Markdown
Contributor Author

@thaJeztah updated :)

@yongtang yongtang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM if Jenkins is green

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.