public class IntegrationTestDenormalisedSpacePermissionsClusterTests extends AbstractDenormalisedPermissionsIntegrationTestBase
admin, bulkPermissionService, contentPermissionManager, denormalisedContentChangeLogDao, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state| Constructor and Description |
|---|
IntegrationTestDenormalisedSpacePermissionsClusterTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
void |
properlyActivateTriggers()
Checks that triggers are activated before processing the content
|
void |
testConcurrentContentChangeLogProcessing()
Check that two nodes do not process space log records in parallel.
|
void |
testConcurrentContentInitialisationRequestsAreHandledCorrectly()
Create 2 instances of DenormalisedPermissionStateManager and run content initialisation in parallel.
|
void |
testConcurrentSidUpdating()
Check that if space and content updaters are trying to add the same sid, it does not lead to collisions
TODO it would be improved by adding delays to DenormalisedSidSeManager
|
void |
testConcurrentSpaceChangeLogProcessing()
Check that two nodes do not process space log records in parallel.
|
void |
testConcurrentSpaceInitialisationRequestsAreHandledCorrectly()
Create 2 instances of DenormalisedPermissionStateManager and run space initialisation in parallel.
|
clearEverything, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabled@Inject public DenormalisedSpacePermissionsUpdater denormalisedSpacePermissionsUpdater
@Inject public DenormalisedContentPermissionsUpdater denormalisedContentPermissionsUpdater
@Inject public RealContentAndPermissionsDao realContentAndPermissionsDao
@Inject public DenormalisedServiceStateDao denormalisedServiceStateDao
@Inject public DenormalisedPermissionStateLogService denormalisedPermissionStateLogService
public IntegrationTestDenormalisedSpacePermissionsClusterTests()
public void init()
public void testConcurrentSpaceInitialisationRequestsAreHandledCorrectly()
throws InterruptedException
InterruptedExceptionpublic void testConcurrentContentInitialisationRequestsAreHandledCorrectly()
throws InterruptedException
InterruptedExceptionpublic void testConcurrentSpaceChangeLogProcessing()
throws InterruptedException
InterruptedExceptionpublic void testConcurrentSidUpdating()
throws InterruptedException,
ExecutionException
public void testConcurrentContentChangeLogProcessing()
throws InterruptedException
InterruptedExceptionpublic void properlyActivateTriggers()
throws ExecutionException,
InterruptedException
Copyright © 2003–2022 Atlassian. All rights reserved.