Skip to content

[18.03] address unassigned task leak when service is removed#2709

Merged
cyli merged 1 commit into
moby:bump_v18.03from
thaJeztah:18.03-backport-task_leak
Aug 1, 2018
Merged

[18.03] address unassigned task leak when service is removed#2709
cyli merged 1 commit into
moby:bump_v18.03from
thaJeztah:18.03-backport-task_leak

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

cherry-pick of #2706 for the bump_v18.03 branch;

git checkout -b 18.03-backport-task_leak upstream/bump_v18.03
git cherry-pick -s -S -x 9d977ce6fe0ecd674a17d596e76d141abb88293b

cherry-pick was clean; no conflicts

Signed-off-by: Dani Louca <dani.louca@docker.com>

Add a comment describing the function and adjust the log message

Signed-off-by: Dani Louca <dani.louca@docker.com>

Fixing existing unit tests

Signed-off-by: Dani Louca <dani.louca@docker.com>

Adding a test case to verify the leak fix

Signed-off-by: Dani Louca <dani.louca@docker.com>

simplifying the test

Signed-off-by: Dani Louca <dani.louca@docker.com>

comment

Signed-off-by: Dani Louca <dani.louca@docker.com>
(cherry picked from commit 9d977ce)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 17, 2018

Codecov Report

Merging #2709 into bump_v18.03 will decrease coverage by 0.35%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##           bump_v18.03    #2709      +/-   ##
===============================================
- Coverage        61.82%   61.47%   -0.36%     
===============================================
  Files              134      134              
  Lines            21820    21827       +7     
===============================================
- Hits             13491    13418      -73     
- Misses            6888     6973      +85     
+ Partials          1441     1436       -5

Copy link
Copy Markdown
Contributor

@cyli cyli left a comment

Choose a reason for hiding this comment

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

LGTM

@cyli cyli merged commit 692f457 into moby:bump_v18.03 Aug 1, 2018
@thaJeztah thaJeztah deleted the 18.03-backport-task_leak branch August 1, 2018 23:04
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