- testsuite.patch: avoid spurious timeout in BeiderMorse tests OBS-URL: https://build.opensuse.org/request/show/238282 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-codec?expand=0&rev=15
27 lines
1.4 KiB
Diff
27 lines
1.4 KiB
Diff
Index: commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java
|
|
===================================================================
|
|
--- commons-codec-1.8-src.orig/src/test/java/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java
|
|
+++ commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java
|
|
@@ -125,7 +125,7 @@ public class BeiderMorseEncoderTest exte
|
|
Languages.getInstance("thereIsNoSuchLanguage");
|
|
}
|
|
|
|
- @Test(timeout = 10000L)
|
|
+ @Test
|
|
public void testLongestEnglishSurname() throws EncoderException {
|
|
final BeiderMorseEncoder bmpm = createGenericApproxEncoder();
|
|
bmpm.encode("MacGhilleseatheanaich");
|
|
Index: commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineTest.java
|
|
===================================================================
|
|
--- commons-codec-1.8-src.orig/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineTest.java
|
|
+++ commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineTest.java
|
|
@@ -71,7 +71,7 @@ public class PhoneticEngineTest {
|
|
this.maxPhonemes = maxPhonemes;
|
|
}
|
|
|
|
- @Test(timeout = 10000L)
|
|
+ @Test
|
|
public void testEncode() {
|
|
final PhoneticEngine engine = new PhoneticEngine(this.nameType, this.ruleType, this.concat, this.maxPhonemes);
|
|
|