]> source.dussan.org Git - jgit.git/commit
Test stability: add fsTick() to avoid random testPruneNone() failures 00/58100/1
authorAndrey Loskutov <loskutov@gmx.de>
Tue, 13 Oct 2015 19:24:47 +0000 (22:24 +0300)
committerAndrey Loskutov <loskutov@gmx.de>
Tue, 13 Oct 2015 19:24:47 +0000 (22:24 +0300)
commitfd060943daf24873e23a49203be19f7491bd46f7
tree9d2f14a9968879d76329bb37db667ae2110556d5
parenteec37d2334bd09271773ee519e20d24e5e90da81
Test stability: add fsTick() to avoid random testPruneNone() failures

At least on Windows the test failed each second time on the last assert.
Adding a small timeout before gc.prune() makes the test stable again.

Change-Id: I23d98dd565912c58dcf2f24f3ebc24824670cff3
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/GcReflogTest.java