Skip to content

[17.06] Backport manager test fixes#2643

Merged
nishanttotla merged 1 commit into
moby:bump_v17.06from
cyli:17.06-manager-test-fix
May 23, 2018
Merged

[17.06] Backport manager test fixes#2643
nishanttotla merged 1 commit into
moby:bump_v17.06from
cyli:17.06-manager-test-fix

Conversation

@cyli
Copy link
Copy Markdown
Contributor

@cyli cyli commented May 23, 2018

This backports #2575 to 17.06 in an attempt to fix CI flakiness.

cc @nishanttotla

…ager), it may take

a little while for the dispatcher to come up, so poll until it's up.

In the second case (TestManagerLockUnlock), we wait for the TLS key bytes to change to
test to see whether it has been decrypted after disabling the unlock key.  However, it
could have changed due to a renewal due to the previous unlock key rotation.  So when
polling, check that it's decrypted.

Signed-off-by: Ying Li <ying.li@docker.com>
(cherry picked from commit 6498260)
@codecov
Copy link
Copy Markdown

codecov Bot commented May 23, 2018

Codecov Report

❗ No coverage uploaded for pull request base (bump_v17.06@0936bd3). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             bump_v17.06    #2643   +/-   ##
==============================================
  Coverage               ?   61.01%           
==============================================
  Files                  ?      120           
  Lines                  ?    20043           
  Branches               ?        0           
==============================================
  Hits                   ?    12230           
  Misses                 ?     6469           
  Partials               ?     1344

Copy link
Copy Markdown
Contributor

@nishanttotla nishanttotla left a comment

Choose a reason for hiding this comment

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

Thanks @cyli !

@nishanttotla nishanttotla merged commit c1808c3 into moby:bump_v17.06 May 23, 2018
@cyli cyli deleted the 17.06-manager-test-fix branch May 23, 2018 18:10
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