lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [2/3] lucenenet git commit: BUG: Lucene.Net.Tests.Facet.Taxonomy.Directory.TestAddTaxonomy: create random temp file instead of file in current directory.
Date Tue, 18 Apr 2017 06:43:25 GMT
BUG: Lucene.Net.Tests.Facet.Taxonomy.Directory.TestAddTaxonomy: create random temp file instead
of file in current directory.


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/7a8d266e
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/7a8d266e
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/7a8d266e

Branch: refs/heads/api-work
Commit: 7a8d266e7ac1fd878c736373ea2e31c6a532572b
Parents: c62a45b
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Tue Apr 18 13:41:30 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Apr 18 13:41:30 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestAddTaxonomy.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7a8d266e/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestAddTaxonomy.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestAddTaxonomy.cs b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestAddTaxonomy.cs
index 1eb67ab..974913c 100644
--- a/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestAddTaxonomy.cs
+++ b/src/Lucene.Net.Tests.Facet/Taxonomy/Directory/TestAddTaxonomy.cs
@@ -112,7 +112,7 @@ namespace Lucene.Net.Facet.Taxonomy.Directory
         {
             if (Random().NextBoolean())
             {
-                return new DiskOrdinalMap("taxoMap");
+                return new DiskOrdinalMap(CreateTempFile("taxoMap", "").FullName);
             }
             else
             {


Mime
View raw message