lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject [1/2] lucenenet git commit: put back the previous logic which was correct
Date Fri, 22 May 2015 18:52:25 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests a2e16bb44 -> 38633b635


put back the previous logic which was correct


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

Branch: refs/heads/failingtests
Commit: a6ae735501ad560c79607c8a29fb3f79ed49be43
Parents: a2e16bb
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Fri May 22 14:32:02 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Fri May 22 14:32:02 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.TestFramework/Search/QueryUtils.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a6ae7355/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Search/QueryUtils.cs b/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
index 5d79cc1..1156eee 100644
--- a/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
+++ b/src/Lucene.Net.TestFramework/Search/QueryUtils.cs
@@ -478,7 +478,7 @@ namespace Lucene.Net.Search
                         Assert.IsTrue(scorer_.Advance(i) != DocIdSetIterator.NO_MORE_DOCS,
"query collected " + doc + " but skipTo(" + i + ") says no more docs!");
                         Assert.AreEqual(doc, scorer_.DocID(), "query collected " + doc +
" but skipTo(" + i + ") got to " + scorer_.DocID());
                         float skipToScore = scorer_.Score();
-                        Assert.AreEqual(skipToScore, score, MaxDiff, "unstable skipTo(" +
i + ") score!");
+                        Assert.AreEqual(skipToScore, scorer_.Score(), MaxDiff, "unstable
skipTo(" + i + ") score!");
                         Assert.AreEqual(score, skipToScore, MaxDiff, "query assigned doc
" + doc + " a score of <" + score + "> but skipTo(" + i + ") has <" + skipToScore
+ ">!");
 
                         // Hurry things along if they are going slow (eg


Mime
View raw message