Skip to content

17.06 manager test fix#2683

Merged
anshulpundir merged 1 commit into
moby:bump_v17.06from
cyli:17.06-manager-test-fix
Jul 3, 2018
Merged

17.06 manager test fix#2683
anshulpundir merged 1 commit into
moby:bump_v17.06from
cyli:17.06-manager-test-fix

Conversation

@cyli
Copy link
Copy Markdown
Contributor

@cyli cyli commented Jul 2, 2018

Since 17.06 branch was changed, this re-backports the manager fixes from #2575 to fix manager test flakiness.

@cyli cyli changed the base branch from master to bump_v17.06 July 2, 2018 22:43
…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)
@cyli cyli force-pushed the 17.06-manager-test-fix branch from 1044885 to 9a60523 Compare July 2, 2018 22:44
@moby moby deleted a comment from GordonTheTurtle Jul 2, 2018
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 2, 2018

Codecov Report

Merging #2683 into bump_v17.06 will increase coverage by 0.16%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           bump_v17.06    #2683      +/-   ##
===============================================
+ Coverage        61.08%   61.24%   +0.16%     
===============================================
  Files               30      121      +91     
  Lines             4322    20172   +15850     
===============================================
+ Hits              2640    12355    +9715     
- Misses            1429     6462    +5033     
- Partials           253     1355    +1102

@anshulpundir anshulpundir merged commit 220c1ed into moby:bump_v17.06 Jul 3, 2018
@cyli cyli deleted the 17.06-manager-test-fix branch July 3, 2018 17:45
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