Module methanol.testing
Annotation Interface StoreSpec
Specifies one or more
Store
configurations for a test case.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
boolean
WhetherMockClock
should automatically advance itself by 1 second.boolean
WhetherMockDelayer
should eagerly dispatch ready tasks (tasks whose delay is evaluated) whenever a task is submitted.int
The number of seconds an inactive editor lock gets to live.int
Delay between automatic index updates done by the disk store.long
SpecifiesStoreTypes
to skip in testing.int
The number of seconds an inactive stale entry gets to live.
-
Element Details
-
tested
StoreConfig.StoreType[] tested- Default:
{MEMORY, DISK, REDIS_STANDALONE, REDIS_CLUSTER}
-
skipped
StoreConfig.StoreType[] skippedSpecifiesStoreTypes
to skip in testing.- Default:
{}
-
maxSize
long maxSize- Default:
9223372036854775807L
-
fileSystem
StoreConfig.FileSystemType[] fileSystem- Default:
{IN_MEMORY, SYSTEM, EMULATED_WINDOWS, NONE}
-
execution
StoreConfig.Execution execution- Default:
ASYNC
-
appVersion
int appVersion- Default:
1
-
indexUpdateDelaySeconds
int indexUpdateDelaySecondsDelay between automatic index updates done by the disk store.- Default:
-1
-
autoAdvanceClock
boolean autoAdvanceClockWhetherMockClock
should automatically advance itself by 1 second.- Default:
true
-
dispatchEagerly
boolean dispatchEagerlyWhetherMockDelayer
should eagerly dispatch ready tasks (tasks whose delay is evaluated) whenever a task is submitted.- Default:
true
-
editorLockInactiveTtlSeconds
int editorLockInactiveTtlSecondsThe number of seconds an inactive editor lock gets to live.- Default:
-1
-
staleEntryInactiveTtlSeconds
int staleEntryInactiveTtlSecondsThe number of seconds an inactive stale entry gets to live.- Default:
-1
-