public class IntegrationTestDenormalisedStateManager extends AbstractDenormalisedPermissionsIntegrationTestBase
admin, bulkPermissionService, contentPermissionManager, denormalisedContentChangeLogDao, denormalisedPermissionsDdlExecutor, denormalisedPermissionStateManager, denormalisedSpaceChangeLogDao, eventPublisher, pageManager, SERVICE_READY_TIMEOUT, spaceDao, spaceManager, spacePermissionManager, state| Constructor and Description |
|---|
IntegrationTestDenormalisedStateManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableServiceAndCheckStatuses() |
void |
init() |
void |
testStaleData()
Check that if the service did not update data for more than a minute, service switched to "STALE" mode,
and also does use denormalised data.
|
void |
testWhenServiceIsNotReloadedOnTime()
Manager should reload its configuration time-to-time.
|
protected void |
updateLastUpToDateTimestamp(long timestamp) |
clearEverything, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabledpublic IntegrationTestDenormalisedStateManager()
public void init()
public void enableServiceAndCheckStatuses()
throws InterruptedException
InterruptedExceptionpublic void testStaleData()
throws InterruptedException
InterruptedExceptionpublic void testWhenServiceIsNotReloadedOnTime()
throws InterruptedException
InterruptedExceptionprotected void updateLastUpToDateTimestamp(long timestamp)
Copyright © 2003–2022 Atlassian. All rights reserved.