You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "laimis (via GitHub)" <gi...@apache.org> on 2023/04/21 18:44:31 UTC
[GitHub] [lucenenet] laimis commented on a diff in pull request #838: Fix slow test: use different sleep method if resolution is low
laimis commented on code in PR #838:
URL: https://github.com/apache/lucenenet/pull/838#discussion_r1174070607
##########
src/Lucene.Net.TestFramework/Index/RandomCodec.cs:
##########
@@ -96,10 +96,10 @@ public override PostingsFormat GetPostingsFormatForField(string name)
if (Debugging.AssertsEnabled) Debugging.Assert(previousMappings.Count < 10000, "test went insane");
}
- //if (LuceneTestCase.VERBOSE)
- //{
- Console.WriteLine("RandomCodec.GetPostingsFormatForField(\"" + name + "\") returned '" + codec.Name + "' with underlying type '" + codec.GetType().ToString() + "'.");
- //}
+ if (LuceneTestCase.Verbose)
+ {
+ Console.WriteLine("RandomCodec.GetPostingsFormatForField(\"" + name + "\") returned '" + codec.Name + "' with underlying type '" + codec.GetType().ToString() + "'.");
+ }
Review Comment:
Put this back as they were showing up in console and interfering with debugging.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org