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, createPage, deleteContentRecordFromDB, deleteSpace, disableServiceAndWaitUntilItsReady, enableServiceAndWaitUntilItsReady, getDialectName, processLogRecords, removeAllChangeLogRecords, setUpBase, waitForServiceState, waitUntilApiIsEnabled
public IntegrationTestDenormalisedStateManager()
public void init()
public void enableServiceAndCheckStatuses() throws InterruptedException
InterruptedException
public void testStaleData() throws InterruptedException
InterruptedException
public void testWhenServiceIsNotReloadedOnTime() throws InterruptedException
InterruptedException
protected void updateLastUpToDateTimestamp(long timestamp)
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences