(cherry picked from commit 8b21ccd0eac3b3d0fbd090152b3dff6ae5217b52)
This commit is contained in:
parent
3051c37f92
commit
ddf4e47e86
|
@ -110,9 +110,11 @@ public class QueryFolderOkTests extends AbstractQueryFolderTestCase {
|
|||
}
|
||||
|
||||
public void test() {
|
||||
String testName = name.toLowerCase(Locale.ROOT);
|
||||
// skip tests that do not make sense from case sensitivity point of view
|
||||
boolean isCaseSensitiveValidTest = name.toLowerCase(Locale.ROOT).endsWith("-casesensitive") && configuration.isCaseSensitive()
|
||||
|| name.toLowerCase(Locale.ROOT).endsWith("-caseinsensitive") && configuration.isCaseSensitive() == false;
|
||||
boolean isCaseSensitiveValidTest = testName.endsWith("sensitive") == false
|
||||
|| testName.endsWith("-casesensitive") && configuration.isCaseSensitive()
|
||||
|| testName.endsWith("-caseinsensitive") && configuration.isCaseSensitive() == false;
|
||||
Assume.assumeTrue(isCaseSensitiveValidTest);
|
||||
|
||||
PhysicalPlan p = plan(query);
|
||||
|
|
Loading…
Reference in New Issue