mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #40994 from gaurav1086/rm_test_fix_goroutine_leak
rm_test: fix goroutine leak
This commit is contained in:
commit
3f36764844
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func TestEnsureRemoveAllWithMount(t *testing.T) {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
done := make(chan struct{})
|
done := make(chan struct{}, 1)
|
||||||
go func() {
|
go func() {
|
||||||
err = EnsureRemoveAll(dir1)
|
err = EnsureRemoveAll(dir1)
|
||||||
close(done)
|
close(done)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue