Module methanol.testing
Annotation Interface StoreSpec
Specifies one or more
Store
configurations for a test case.-
Optional Element Summary
Modifier 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
int
Delay between automatic index updates done by the disk store.long
SpecifiesStoreTypes
to skip in testing.int
-
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
-
editorLockTtlSeconds
int editorLockTtlSeconds- Default:
-1
-
staleEntryLockTtlSeconds
int staleEntryLockTtlSeconds- Default:
-1
-