mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fixed thread authentication in test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -159,7 +159,7 @@ public class ConcurrentNodeServiceTest extends TestCase
|
||||
/**
|
||||
* Daemon thread
|
||||
*/
|
||||
class Nester extends Thread
|
||||
private class Nester extends Thread
|
||||
{
|
||||
Thread waiter;
|
||||
|
||||
@@ -175,6 +175,8 @@ public class ConcurrentNodeServiceTest extends TestCase
|
||||
|
||||
public void run()
|
||||
{
|
||||
authenticationComponent.setSystemUserAsCurrentUser();
|
||||
|
||||
if (waiter != null)
|
||||
{
|
||||
waiter.start();
|
||||
|
Reference in New Issue
Block a user