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

[help wanted] replace DelContainerForceOk with DelContainerForceMultyTime #1376

Closed
Letty5411 opened this issue May 22, 2018 · 0 comments · Fixed by #1462
Closed

[help wanted] replace DelContainerForceOk with DelContainerForceMultyTime #1376

Letty5411 opened this issue May 22, 2018 · 0 comments · Fixed by #1462

Comments

@Letty5411
Copy link
Contributor

Letty5411 commented May 22, 2018

Ⅰ. Issue Description

Due to issue #815 tests fail randomly.
Now in cli_xxx_test.go, they all use function DelContainerForceMultyTime instead of DelContainerForceOk. The former function will try several times to delete a container and ignore the return value.

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Replace DelContainerForceOk in api_xxx_test.go with the following statement:

defer DelContainerForceMultyTime(c, cname)

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

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant