You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2020/11/21 12:42:21 UTC

[lucenenet] 05/05: Lucene.Net.Tests.Analysis.ICU.Analysis.Icu.TestICUFoldingFilterFactory::Test(): Added AwaitsFix attribute (failing on GitHub Actions on Linux)

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 8ad48e7ef73c62390fc1c8f2b6ca66d60eec44a8
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sat Nov 21 19:33:11 2020 +0700

    Lucene.Net.Tests.Analysis.ICU.Analysis.Icu.TestICUFoldingFilterFactory::Test(): Added AwaitsFix attribute (failing on GitHub Actions on Linux)
---
 .../Analysis/Icu/TestICUFoldingFilterFactory.cs                        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUFoldingFilterFactory.cs b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUFoldingFilterFactory.cs
index 268530d..1f60596 100644
--- a/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUFoldingFilterFactory.cs
+++ b/src/Lucene.Net.Tests.Analysis.ICU/Analysis/Icu/TestICUFoldingFilterFactory.cs
@@ -30,9 +30,10 @@ namespace Lucene.Net.Analysis.Icu
     {
         /** basic tests to ensure the folding is working */
         [Test]
+        [AwaitsFix(BugUrl = "https://github.com/apache/lucenenet/issues/269")] // LUCENENET TODO: this test fails only on Linux on GitHub Actions
         public void Test()
         {
-            TextReader reader = new StringReader("R�sum�");
+            TextReader reader = new StringReader("Résumé");
             ICUFoldingFilterFactory factory = new ICUFoldingFilterFactory(new Dictionary<string, string>());
             TokenStream stream = new MockTokenizer(reader, MockTokenizer.WHITESPACE, false);
             stream = factory.Create(stream);