Add a counter to make sure the test repo name is unique
commitd3424ed8e85a3d7ec5c68ab3d369e98216026c72
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 30 Nov 2008 23:40:31 +0000 (1 00:40 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 2 Dec 2008 16:30:02 +0000 (2 08:30 -0800)
tree52ae69875d04bbb575231be1b0f55bc5c900a81f
parent4a83c26f4ef76b903fb8f8f48bc38a4cf2a6a123
Add a counter to make sure the test repo name is unique

System.currentTimeMillis() does not have the granularity
necessary to guarantee uniqueness. We keep it to make sure we
have unique names between different runs, but add a counter to
make it unique within the execution of a test suite.

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.test/tst/org/spearce/jgit/lib/RepositoryTestCase.java