Skip to content

[WIP] Fix TestUpdaterRollback#2728

Closed
dperny wants to merge 1 commit intomoby:masterfrom
dperny:fix-test-updater-rollback
Closed

[WIP] Fix TestUpdaterRollback#2728
dperny wants to merge 1 commit intomoby:masterfrom
dperny:fix-test-updater-rollback

Conversation

@dperny
Copy link
Collaborator

@dperny dperny commented Aug 17, 2018

Attempts to fix a bug in TestUpdaterRollback which is causing the test to fail in CI consistently.

This PR is marked WIP as the failure only seems to occur in CI.

Attempts to fix a bug in TestUpdaterRollback which is causing the test
to fail in CI consistently.

Signed-off-by: Drew Erny <drew.erny@docker.com>
@codecov
Copy link

codecov bot commented Aug 17, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@496d19b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2728   +/-   ##
=========================================
  Coverage          ?   62.28%           
=========================================
  Files             ?      134           
  Lines             ?    21787           
  Branches          ?        0           
=========================================
  Hits              ?    13570           
  Misses            ?     6749           
  Partials          ?     1468

@dperny
Copy link
Collaborator Author

dperny commented Aug 17, 2018

Interesting. Increasing the timeout fixes this test failure.

assert.FailNow(t, "got EventUpdateTask when expecting EventCreateTask", fmt.Sprint(event))
}
case <-time.After(time.Second):
case <-time.After(time.Second * 2):
Copy link
Contributor

Choose a reason for hiding this comment

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

This increases the timeout for all tests. I don't think that's a good idea.

@olljanat
Copy link
Contributor

@dperny btw I did same change already on #2762 which is merged so this one can be closed.

This increases the timeout for all tests. I don't think that's a good idea.

@anshulpundir yes it increased timeout for all tests but as root cause looks to be resource issue on CircleCI servers it is IMO correct way to fix these (I was able to prove that issue happens always if I set too tight CPU limit to docker run command).

@thaJeztah
Copy link
Member

closing because #2762 was merged; looks like it's sometimes still flaky though: #2848

@thaJeztah thaJeztah closed this Apr 6, 2019
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.

4 participants