Merged
Conversation
8 tasks
dnephin
approved these changes
Sep 1, 2017
Member
There was a problem hiding this comment.
I guess this works, so would something like this which removes the dependency on the client:
inspect, err := client.ContainerInspect(context.Background(), "test")
c.Assert(err, checker.IsNil)
c.Assert(inspect.HostConfig.NanoCPUs, checker.Equals, 500000000)
Contributor
|
Kicked off a build here: https://jenkins.dockerproject.org/job/docker-integration-tests/111/ |
Contributor
|
@vieux Tests still failed: https://jenkins.dockerproject.org/job/docker-integration-tests/111/execution/node/272/log/ |
Contributor
Author
|
@seemethere sorry I made a silly mistake, can you kick it again ? |
Contributor
5ccd2de to
6a1bd65
Compare
Contributor
Author
|
I rebased using @dnephin's solution. |
Member
|
@vieux compilation error |
37373a1 to
09e2103
Compare
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Contributor
|
@vieux new build started: https://jenkins.dockerproject.org/job/docker-integration-tests/120/ |
Contributor
Author
|
@andrewhsu looks like it is indeed fixing tests in docker-ce @dnephin can you review once more please ? |
Contributor
|
It indeed does look like it fixes the tests! We're down to 3. ❯ bash ~/scripts/check_failures.sh https://jenkins.dockerproject.org/job/docker-integration-tests/120/consoleText
FOR: https://jenkins.dockerproject.org/job/docker-integration-tests/120/consoleText
Passed (thought would fail):
DockerSuite.TestRunWithNanoCPUs
DockerSuite.TestUpdateWithNanoCPUs
DockerSwarmSuite.TestServiceLogs
DockerSwarmSuite.TestSwarmNetworkPluginV2
DockerSwarmSuite.TestSwarmServicePsMultipleServiceIDs
Failed (should fail)
DockerSuite.TestRmiContainerImageNotFound
DockerSuite.TestRmiImageIDForceWithRunningContainersAndMultipleTags
DockerSuite.TestRunAttachDetachFromInvalidFlag
Failed (thought would pass): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

depending of the docker cli version used, sometimes the result will be
5e+08sometimes it will be500000000This update the test to force the use of a common output.
/cc @dnephin @andrewhsu @seemethere