Skip to content

Fix DockerSuite.TestVolumeCliInspectMulti - #18458

Merged
thaJeztah merged 1 commit into
moby:masterfrom
vdemeester:fix-volume-test
Dec 7, 2015
Merged

thaJeztah merged 1 commit into
moby:masterfrom
vdemeester:fix-volume-test

Conversation

@vdemeester

Copy link
Copy Markdown
Member

Use dockerCmdWithError now that docker volume inspect nonexistent actually returns an error code.

Fixes master after #17788. The test should probably check the error but I was lazy tonight, tell me if we want it to or not 😉.

🐸

Signed-off-by: Vincent Demeester [email protected]

@runcom

runcom commented Dec 7, 2015

Copy link
Copy Markdown
Member

+1 to check.NotNil which is the correct behavior :)

@cpuguy83

cpuguy83 commented Dec 7, 2015

Copy link
Copy Markdown
Member

Yes we should check the error

@lowenna

lowenna commented Dec 7, 2015

Copy link
Copy Markdown
Member

It passed Windows CI, so from that perspective, it's good from my seat :) Agree with @cpuguy83 though.

Use dockerCmdWithError now that it actually returns an error code.

Signed-off-by: Vincent Demeester <[email protected]>
@vdemeester

Copy link
Copy Markdown
Member Author

@runcom @cpuguy83 sounds fair, updated 😉

@runcom

runcom commented Dec 7, 2015

Copy link
Copy Markdown
Member

LGTM

@thaJeztah

Copy link
Copy Markdown
Member

LGTM, thanks @vdemeester!

thaJeztah added a commit that referenced this pull request Dec 7, 2015
Fix DockerSuite.TestVolumeCliInspectMulti
@thaJeztah
thaJeztah merged commit 9165700 into moby:master Dec 7, 2015
@vdemeester
vdemeester deleted the fix-volume-test branch December 7, 2015 09:28
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.

6 participants