Browse code

Windows:Fix TestRunUserDefaults

Signed-off-by: John Howard <jhoward@microsoft.com>

John Howard authored on 2019/03/20 05:06:27
Showing 1 changed files
... ...
@@ -715,7 +715,7 @@ func (s *DockerSuite) TestRunExitCode(c *check.C) {
715 715
 func (s *DockerSuite) TestRunUserDefaults(c *check.C) {
716 716
 	expected := "uid=0(root) gid=0(root)"
717 717
 	if testEnv.OSType == "windows" {
718
-		expected = "uid=1000(ContainerAdministrator) gid=1000(ContainerAdministrator)"
718
+		expected = "uid=0(root) gid=0(root) groups=0(root)"
719 719
 	}
720 720
 	out, _ := dockerCmd(c, "run", "busybox", "id")
721 721
 	if !strings.Contains(out, expected) {