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

Two random very small fixes #653

Merged
merged 2 commits into from
Dec 19, 2018
Merged

Two random very small fixes #653

merged 2 commits into from
Dec 19, 2018

Conversation

NicolasMahe
Copy link
Member

No description provided.

@NicolasMahe NicolasMahe changed the title Two random fixes Two random very small fixes Dec 19, 2018
@@ -40,5 +40,5 @@ func TestIntegrationWaitForStatusTaskError(t *testing.T) {
defer c.StopService(namespace)
err = c.waitForStatus(namespace, RUNNING)
require.Error(t, err)
require.Equal(t, "No such image: awgdaywudaywudwa:latest", err.Error())
require.Contains(t, "No such image: awgdaywudaywudwa:latest", err.Error())
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because sometimes err.Error() contains 2 times the same error. It's because of Docker's tasks. Sometime, Docker is fast and has time to run 2 tasks, sometime it's slow and run only 1 time.

@ilgooz ilgooz merged commit fbd0df4 into dev Dec 19, 2018
@ilgooz ilgooz deleted the 2-random-fix branch December 19, 2018 09: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.

3 participants