]> source.dussan.org Git - jgit.git/commit
ReceivePackAdvertiseRefsHookTest.testSuccess() fails on Windows 65/127665/1
authorAndrey Loskutov <loskutov@gmx.de>
Sun, 19 Aug 2018 16:08:50 +0000 (18:08 +0200)
committerAndrey Loskutov <loskutov@gmx.de>
Sun, 19 Aug 2018 18:24:20 +0000 (20:24 +0200)
commit6e4b9bd274fc50476eecdea1a0babe4972d2a623
treecb3abb63fefbaf1dc46f9f51c4e5d3b90b003081
parentb31f966188697d2d07ac0e888d4b3c2a5defabb9
ReceivePackAdvertiseRefsHookTest.testSuccess() fails on Windows

The TransportLocal object created in
newTransportLocalWithStrictValidation() closes original repository and
increments use of test internal "dst" repository, but never decrements
use. Because of this, pack file is not closed and during tearDown on
Windows system is unable to delete it.

Bug: 538068
Change-Id: I96df8e91abfee78c91cf26c2466718e9145a69db
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/ReceivePackAdvertiseRefsHookTest.java