mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
REPO-2434: Fix testGetPersistentType
- Renamed to testGetPersistentTypeForStrings - divorce the test from any dialect that happens to set the string length by setting and resetting the string length - Test explicitly around 2000 chars rather than the default git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -189,7 +189,7 @@ public class SchemaBootstrap extends AbstractLifecycleBean
|
||||
/**
|
||||
* @see #DEFAULT_MAX_STRING_LENGTH
|
||||
*/
|
||||
private static final void setMaxStringLength(int length, Dialect dialect)
|
||||
public static final void setMaxStringLength(int length, Dialect dialect)
|
||||
{
|
||||
int max = (dialect instanceof AlfrescoMySQLClusterNDBDialect ? DEFAULT_MAX_STRING_LENGTH_NDB : DEFAULT_MAX_STRING_LENGTH);
|
||||
|
||||
|
Reference in New Issue
Block a user