Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 669e4b1

Browse files
Merge component 'engine' from git@github.com:docker/engine 19.03
2 parents e9a7e02 + 1506a66 commit 669e4b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/engine/integration-cli/docker_cli_run_unix_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ func (s *DockerSuite) TestRunInvalidCPUShares(c *testing.T) {
765765
testRequires(c, cpuShare, DaemonIsLinux)
766766
out, _, err := dockerCmdWithError("run", "--cpu-shares", "1", "busybox", "echo", "test")
767767
assert.ErrorContains(c, err, "", out)
768-
expected := "The minimum allowed cpu-shares is 2"
768+
expected := "minimum allowed cpu-shares is 2"
769769
assert.Assert(c, strings.Contains(out, expected))
770770

771771
out, _, err = dockerCmdWithError("run", "--cpu-shares", "-1", "busybox", "echo", "test")
@@ -775,7 +775,7 @@ func (s *DockerSuite) TestRunInvalidCPUShares(c *testing.T) {
775775

776776
out, _, err = dockerCmdWithError("run", "--cpu-shares", "99999999", "busybox", "echo", "test")
777777
assert.ErrorContains(c, err, "", out)
778-
expected = "The maximum allowed cpu-shares is"
778+
expected = "maximum allowed cpu-shares is"
779779
assert.Assert(c, strings.Contains(out, expected))
780780
}
781781

0 commit comments

Comments
 (0)