mirror of https://github.com/apache/lucene.git
LUCENE-3345: use different tempdir names, for convenience
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1151348 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0fbb554886
commit
8baef1613f
|
@ -51,7 +51,7 @@ public class Test10KPulsings extends LuceneTestCase {
|
||||||
// we always run this test with pulsing codec.
|
// we always run this test with pulsing codec.
|
||||||
CodecProvider cp = _TestUtil.alwaysCodec(new PulsingCodec(1));
|
CodecProvider cp = _TestUtil.alwaysCodec(new PulsingCodec(1));
|
||||||
|
|
||||||
File f = _TestUtil.getTempDir("10kpulsings");
|
File f = _TestUtil.getTempDir("10kpulsed");
|
||||||
MockDirectoryWrapper dir = newFSDirectory(f);
|
MockDirectoryWrapper dir = newFSDirectory(f);
|
||||||
dir.setCheckIndexOnClose(false); // we do this ourselves explicitly
|
dir.setCheckIndexOnClose(false); // we do this ourselves explicitly
|
||||||
RandomIndexWriter iw = new RandomIndexWriter(random, dir,
|
RandomIndexWriter iw = new RandomIndexWriter(random, dir,
|
||||||
|
@ -102,7 +102,7 @@ public class Test10KPulsings extends LuceneTestCase {
|
||||||
// we always run this test with pulsing codec.
|
// we always run this test with pulsing codec.
|
||||||
CodecProvider cp = _TestUtil.alwaysCodec(new PulsingCodec(1));
|
CodecProvider cp = _TestUtil.alwaysCodec(new PulsingCodec(1));
|
||||||
|
|
||||||
File f = _TestUtil.getTempDir("10kpulsings");
|
File f = _TestUtil.getTempDir("10knotpulsed");
|
||||||
MockDirectoryWrapper dir = newFSDirectory(f);
|
MockDirectoryWrapper dir = newFSDirectory(f);
|
||||||
dir.setCheckIndexOnClose(false); // we do this ourselves explicitly
|
dir.setCheckIndexOnClose(false); // we do this ourselves explicitly
|
||||||
RandomIndexWriter iw = new RandomIndexWriter(random, dir,
|
RandomIndexWriter iw = new RandomIndexWriter(random, dir,
|
||||||
|
|
Loading…
Reference in New Issue