Skip to content

flaky test(s): TestSearchCmdOptions, TestSearchOnCentralRegistry, TestSearchWithLimit #26633

@tophj-ibm

Description

@tophj-ibm

One issue because they all started failing at once, and always seem to fail together.

Seen failing on master: https://jenkins.dockerproject.org/job/Docker%20Master/label=ubuntu-1404%20&&%20aufs/6834/consoleFull

 FAIL: docker_cli_search_test.go:47: DockerSuite.TestSearchCmdOptions

 docker_cli_search_test.go:72:
     c.Assert(outSearchCmdOfficialSlice, checker.HasLen, 3) // 1 header, 1 line, 1 carriage return
 ... obtained []string = []string{"NAME      DESCRIPTION   STARS     OFFICIAL   AUTOMATED", ""}
 ... n int = 3


 ----------------------------------------------------------------------
 FAIL: docker_cli_search_test.go:12: DockerSuite.TestSearchOnCentralRegistry

 docker_cli_search_test.go:16:
     c.Assert(out, checker.Contains, "Busybox base image.", check.Commentf("couldn't find any repository named (or containing) 'Busybox base image.'"))
 ... obtained string = "NAME      DESCRIPTION   STARS     OFFICIAL   AUTOMATED\n"
 ... substring string = "Busybox base image."
 ... couldn't find any repository named (or containing) 'Busybox base image.'

 ----------------------------------------------------------------------
 FAIL: docker_cli_search_test.go:103: DockerSuite.TestSearchWithLimit

 docker_cli_search_test.go:110:
     c.Assert(outSlice, checker.HasLen, limit+2) // 1 header, 1 carriage return
 ... obtained []string = []string{"NAME      DESCRIPTION   STARS     OFFICIAL   AUTOMATED", ""}
 ... n int = 12

 ----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions