Skip to content

Avoid flakiness of TestLinkContainers#1846

Merged
mavenugo merged 1 commit intomoby:masterfrom
fcrisciani:avoid-test-failure
Jul 21, 2017
Merged

Avoid flakiness of TestLinkContainers#1846
mavenugo merged 1 commit intomoby:masterfrom
fcrisciani:avoid-test-failure

Conversation

@fcrisciani
Copy link
Copy Markdown

@fcrisciani fcrisciani commented Jul 21, 2017

Solve the flakiness of the TestLinkContainers.

From a code standpoint I don't see any way that the chain should not exists.
I noticed that some of the previous tests are not properly doing the check if they are running into a container.

Signed-off-by: Flavio Crisciani flavio.crisciani@docker.com

@fcrisciani
Copy link
Copy Markdown
Author

not working yet

@fcrisciani fcrisciani force-pushed the avoid-test-failure branch from dc1a015 to 0de0ad7 Compare July 21, 2017 19:07
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
@fcrisciani fcrisciani force-pushed the avoid-test-failure branch from 0de0ad7 to 73ebaef Compare July 21, 2017 20:54
@fcrisciani
Copy link
Copy Markdown
Author

Run it 6 times in a row with success, maybe the problem was that some tests were locking the thread into a namespace of a container that then was being removed

@fcrisciani fcrisciani changed the title [WIP] Avoid flakiness of TestLinkContainers Avoid flakiness of TestLinkContainers Jul 21, 2017
@mavenugo
Copy link
Copy Markdown
Contributor

LGTM

@mavenugo mavenugo merged commit c3393f1 into moby:master Jul 21, 2017
@fcrisciani fcrisciani deleted the avoid-test-failure branch July 31, 2017 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants