Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[flaky test] API GET /exec/{id}/json got flaky test result #1095

Closed
allencloud opened this issue Apr 11, 2018 · 1 comment
Closed

[flaky test] API GET /exec/{id}/json got flaky test result #1095

allencloud opened this issue Apr 11, 2018 · 1 comment

Comments

@allencloud
Copy link
Collaborator

Ⅰ. Issue Description

We met a flaky test in pr #1036, and this may be introduced in #875.

FAIL: /go/src/github.com/alibaba/pouch/test/api_container_exec_inspect_test.go:27: APIContainerExecInspectSuite.TestContainerExecInspectOk
/go/src/github.com/alibaba/pouch/test/api_container_exec_inspect_test.go:52:
    CheckRespStatus(c, resp, 200)
/go/src/github.com/alibaba/pouch/test/util_api.go:21:
    c.Assert(resp.StatusCode, check.Equals, status, check.Commentf("Error:%s", got.Message))
... obtained int = 404
... expected int = 200
... Error:

Ⅱ. Describe what happened

flaky test happens which is related to exec inspect API.

Ⅲ. Describe what you expected to happen

no flaky test

Ⅳ. How to reproduce it (as minimally and precisely as possible)

none

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version): master branch code
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@allencloud allencloud changed the title [flaky test] [flaky test] API GET /exec/{id}/json got flaky test result Apr 11, 2018
@allencloud
Copy link
Collaborator Author

Finally we found that this is not a flaky test. #1036 has some code issue there. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants