mirror of https://github.com/apache/lucene.git
Skip convertType tests when locale is sr__#Latn
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612447 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
514e04fe7f
commit
377fab9fd9
|
@ -28,6 +28,7 @@ import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Locale;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
|
@ -37,6 +38,9 @@ import java.util.Properties;
|
||||||
@ThreadLeakScope(ThreadLeakScope.Scope.NONE)
|
@ThreadLeakScope(ThreadLeakScope.Scope.NONE)
|
||||||
public class TestJdbcDataSourceConvertType extends AbstractDataImportHandlerTestCase {
|
public class TestJdbcDataSourceConvertType extends AbstractDataImportHandlerTestCase {
|
||||||
public void testConvertType() throws Throwable {
|
public void testConvertType() throws Throwable {
|
||||||
|
|
||||||
|
assumeTrue("Derby is not happy with locale sr__#Latn", !"sr__#Latn".equals(Locale.getDefault().toString()));
|
||||||
|
|
||||||
// ironically convertType=false causes BigDecimal to String conversion
|
// ironically convertType=false causes BigDecimal to String conversion
|
||||||
convertTypeTest("false", String.class);
|
convertTypeTest("false", String.class);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue