lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [26/50] [abbrv] lucenenet git commit: Fixed bug in Core.Search.TestFieldCache (number of threads not specified on the Barrier)
Date Sun, 23 Oct 2016 13:02:12 GMT
Fixed bug in Core.Search.TestFieldCache (number of threads not specified on the Barrier)


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

Branch: refs/heads/master
Commit: cd60689f15cae35ca8355f0c2d37ca7a5d794eae
Parents: d235115
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Oct 19 05:47:28 2016 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Oct 20 18:20:58 2016 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Tests/core/Search/TestFieldCache.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/cd60689f/src/Lucene.Net.Tests/core/Search/TestFieldCache.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Tests/core/Search/TestFieldCache.cs b/src/Lucene.Net.Tests/core/Search/TestFieldCache.cs
index c7dd8bd..9c71e78 100644
--- a/src/Lucene.Net.Tests/core/Search/TestFieldCache.cs
+++ b/src/Lucene.Net.Tests/core/Search/TestFieldCache.cs
@@ -453,7 +453,7 @@ namespace Lucene.Net.Search
             AtomicBoolean failed = new AtomicBoolean();
             AtomicInteger iters = new AtomicInteger();
             int NUM_ITER = 200 * RANDOM_MULTIPLIER;
-            Barrier restart = new Barrier(1, (barrier) => new RunnableAnonymousInnerClassHelper(this,
cache, iters).Run());
+            Barrier restart = new Barrier(NUM_THREADS, (barrier) => new RunnableAnonymousInnerClassHelper(this,
cache, iters).Run());
             for (int threadIDX = 0; threadIDX < NUM_THREADS; threadIDX++)
             {
                 threads[threadIDX] = new ThreadAnonymousInnerClassHelper(this, cache, failed,
iters, NUM_ITER, restart);


Mime
View raw message