mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
93839: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud) 93772: MNT-13089: RepoAdminServiceImplTest hangs on SQL Server Fixed RenditionServicePermissionsTest.userWithoutDeleteAccessToNodeShouldNotCauseFailedThumbnailProblemsOnUpdate. Disabled for MS SQL Server AuthenticationTest.testLoginNotExistingTenant, RenditionServiceIntegrationTest.testALF3733, RenditionServiceIntegrationTest.testJavascriptAPI. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@95000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -72,6 +72,7 @@ import org.alfresco.test_category.OwnJVMTestsCategory;
|
||||
import org.alfresco.util.ApplicationContextHelper;
|
||||
import org.hibernate.dialect.Dialect;
|
||||
import org.hibernate.dialect.PostgreSQLDialect;
|
||||
import org.hibernate.dialect.SQLServerDialect;
|
||||
import org.junit.experimental.categories.Category;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.extensions.webscripts.GUID;
|
||||
@@ -1732,11 +1733,12 @@ public class AuthenticationTest extends TestCase
|
||||
|
||||
public void testLoginNotExistingTenant() throws Exception
|
||||
{
|
||||
// split the transactions to pass on SQL Server
|
||||
// disable in case of SQL Server
|
||||
// see MNT-13089
|
||||
userTransaction.commit();
|
||||
userTransaction = transactionService.getUserTransaction();
|
||||
userTransaction.begin();
|
||||
if (dialect instanceof SQLServerDialect)
|
||||
{
|
||||
return;
|
||||
}
|
||||
boolean wasEnabled = AuthenticationUtil.isMtEnabled();
|
||||
|
||||
try
|
||||
|
Reference in New Issue
Block a user