Intent of cache.go ×1
All 160 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
go.temporal.io/160 tests-
server/160 tests-
service/150 tests-
history/150 tests-
TestAccess/1 test -
TestChasmEngineSuite/20 tests-
TestPollComponent_Success_Wait/1 test -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_BrandNew -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_ConflictPolicy_TerminateExisting -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_ConflictPolicy_UseExisting -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_RequestIDDedup -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_ReusePolicy_AllowDuplicate -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_ReusePolicy_FailedOnly_Fail -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_ReusePolicy_FailedOnly_Success -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestNewExecution_ReusePolicy_RejectDuplicate -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestReadComponent_NotFound -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestStartExecution_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_ExistingClosed -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_ExistingRunning -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_ExistingRunning_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_NewFnError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_NotFound -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_NotFound_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_UpdateFnError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_UpdateFnErrorOnCreate -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_UpdatePathVersionConflict
-
-
TestEngine2Suite/50 tests-
TestRecordChildExecutionCompleted_ChildFirstRunId/3 tests-
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordChildExecutionCompleted_ChildFirstRunId/child_first_run_id_doesnt_match -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordChildExecutionCompleted_ChildFirstRunId/child_first_run_id_is_set -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordChildExecutionCompleted_ChildFirstRunId/empty_child_first_run_id
-
-
TestStartWorkflowExecution_Dedup/17 tests-
when_workflow_completed/17 tests-
with_failure/12 tests-
status_Canceled/3 tests-
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Canceled/and_id_reuse_policy_ALLOW_DUPLICATE -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Canceled/and_id_reuse_policy_ALLOW_DUPLICATE_FAILED_ONLY -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Canceled/and_id_reuse_policy_REJECT_DUPLICATE
-
-
status_Failed/3 tests-
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Failed/and_id_reuse_policy_ALLOW_DUPLICATE -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Failed/and_id_reuse_policy_ALLOW_DUPLICATE_FAILED_ONLY -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Failed/and_id_reuse_policy_REJECT_DUPLICATE
-
-
status_Terminated/3 tests-
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Terminated/and_id_reuse_policy_ALLOW_DUPLICATE -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Terminated/and_id_reuse_policy_ALLOW_DUPLICATE_FAILED_ONLY -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_Terminated/and_id_reuse_policy_REJECT_DUPLICATE
-
-
status_TimedOut/3 tests-
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_TimedOut/and_id_reuse_policy_ALLOW_DUPLICATE -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_TimedOut/and_id_reuse_policy_ALLOW_DUPLICATE_FAILED_ONLY -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_failure/status_TimedOut/and_id_reuse_policy_REJECT_DUPLICATE
-
-
-
with_success/4 tests-
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_success/and_id_reuse_policy_ALLOW_DUPLICATE_FAILED_ONLY -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_success/and_id_reuse_policy_REJECT_DUPLICATE -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_success/and_id_reuse_policy_is_ALLOW_DUPLICATE -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/with_success/and_id_reuse_policy_is_TERMINATE_IF_RUNNING
-
-
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup/when_workflow_completed/ignore_error_when_request_ID_is_the_same
-
-
-
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordActivityTaskStartedIfNoExecution -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordChildExecutionCompleted -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordWorkflowTaskStartedConflictOnUpdate -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordWorkflowTaskStartedIfGetExecutionFailed -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordWorkflowTaskStartedIfNoExecution -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordWorkflowTaskStartedIfTaskAlreadyCompleted -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordWorkflowTaskStartedIfTaskAlreadyStarted -
go.temporal.io/server/service/history/TestEngine2Suite/TestRecordWorkflowTaskStarted_NoMessages -
go.temporal.io/server/service/history/TestEngine2Suite/TestRequestCancelWorkflowExecution_NotFound -
go.temporal.io/server/service/history/TestEngine2Suite/TestRequestCancelWorkflowExecution_ParentMismatch -
go.temporal.io/server/service/history/TestEngine2Suite/TestSignalWithStartWorkflowExecution_JustSignal -
go.temporal.io/server/service/history/TestEngine2Suite/TestSignalWithStartWorkflowExecution_Start_DuplicateRequests -
go.temporal.io/server/service/history/TestEngine2Suite/TestSignalWithStartWorkflowExecution_Start_WorkflowAlreadyStarted -
go.temporal.io/server/service/history/TestEngine2Suite/TestSignalWithStartWorkflowExecution_WorkflowNotExist -
go.temporal.io/server/service/history/TestEngine2Suite/TestSignalWithStartWorkflowExecution_WorkflowNotRunning -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_BrandNew -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_BrandNew_SearchAttributes -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup_Running_CalledTooSoon -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup_Running_PolicyFail -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup_Running_SameAttachedRequestID -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup_Running_SameRequestID -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Dedup_Running_UseExisting -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Terminate_Existing -
go.temporal.io/server/service/history/TestEngine2Suite/TestStartWorkflowExecution_Terminate_Running -
go.temporal.io/server/service/history/TestEngine2Suite/TestTerminateWorkflowExecution_ParentMismatch -
go.temporal.io/server/service/history/TestEngine2Suite/TestVerifyChildExecutionCompletionRecorded_InitiatedEventFoundOnCurrentBranch -
go.temporal.io/server/service/history/TestEngine2Suite/TestVerifyChildExecutionCompletionRecorded_InitiatedEventFoundOnNonCurrentBranch -
go.temporal.io/server/service/history/TestEngine2Suite/TestVerifyChildExecutionCompletionRecorded_InitiatedEventNotFound -
go.temporal.io/server/service/history/TestEngine2Suite/TestVerifyChildExecutionCompletionRecorded_ResendParent -
go.temporal.io/server/service/history/TestEngine2Suite/TestVerifyChildExecutionCompletionRecorded_WorkflowNotExist
-
-
TestEngine3Suite/3 tests-
go.temporal.io/server/service/history/TestEngine3Suite/TestSignalWithStartWorkflowExecution_JustSignal -
go.temporal.io/server/service/history/TestEngine3Suite/TestSignalWithStartWorkflowExecution_WorkflowNotExist -
go.temporal.io/server/service/history/TestEngine3Suite/TestStartWorkflowExecution_BrandNew
-
-
TestEngineSuite/37 tests-
go.temporal.io/server/service/history/TestEngineSuite/TestEagerWorkflowStart_DoesNotCreateTransferTask -
go.temporal.io/server/service/history/TestEngineSuite/TestEagerWorkflowStart_FromCron_SkipsEager -
go.temporal.io/server/service/history/TestEngineSuite/TestEagerWorkflowStart_WithSearchAttributes -
go.temporal.io/server/service/history/TestEngineSuite/TestGetMutableState_EmptyRunID -
go.temporal.io/server/service/history/TestEngineSuite/TestReapplyEvents_IgnoreSameClusterEvents -
go.temporal.io/server/service/history/TestEngineSuite/TestReapplyEvents_ResetWorkflow -
go.temporal.io/server/service/history/TestEngineSuite/TestReapplyEvents_ReturnSuccess -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCanceledById_Started -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCanceledIfNoAIdProvided -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCanceledIfNoRunID -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCanceledIfNotFound -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCanceled_Scheduled -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedByIdSuccess -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedConflictOnUpdate -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedIfGetExecutionFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedIfNoAIdProvided -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedIfNoExecution -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedIfNoRunID -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedIfNotFound -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedIfTaskCompleted -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedIfTaskNotStarted -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedUpdateExecutionFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedByIdSuccess -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedConflictOnUpdate -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedIfGetExecutionFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedIfNoExecution -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedIfNoRunID -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedIfTaskCompleted -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedIfTaskNotStarted -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedUpdateExecutionFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailededIfNoAIdProvided -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailededIfNotFound -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedConflictOnUpdate -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedIfGetExecutionFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedIfNoExecution -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedSignalExternalWorkflowFailed_UnKnownNamespace -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedUpdateExecutionFailed
-
-
TestTimerQueueActiveTaskExecutorSuite/5 tests-
TestExecuteTimeSkippingTimerTask/1 test -
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteChasmPureTimerTask_ZombieWorkflow -
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteStateMachineTimerTask_ZombieWorkflow -
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestWorkflowExecutionTimeout_Fire -
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestWorkflowExecutionTimeout_Noop
-
-
TestTimerQueueStandbyTaskExecutorSuite/5 tests-
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteStateMachineTimerTask_ZombieWorkflow -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestProcessActivityRetryTimer_Noop -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestProcessWorkflowExecutionTimeout_Pending -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestProcessWorkflowExecutionTimeout_Success -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestProcessWorkflowTaskTimeout_StampMismatch
-
-
api/5 tests-
respondworkflowtaskcompleted/3 tests-
TestWorkflowTaskCompletedHandlerSuite/3 tests-
TestUpdateWorkflow/3 tests-
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/GetHistory_failed -
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Write_failed_on_normal_task_queue -
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Write_failed_on_sticky_task_queue
-
-
-
-
verifyfirstworkflowtaskscheduled/2 tests-
TestVerifyFirstWorkflowTaskScheduledSuite/2 tests-
go.temporal.io/server/service/history/api/verifyfirstworkflowtaskscheduled/TestVerifyFirstWorkflowTaskScheduledSuite/TestVerifyFirstWorkflowTaskScheduled_WorkflowNotFound -
go.temporal.io/server/service/history/api/verifyfirstworkflowtaskscheduled/TestVerifyFirstWorkflowTaskScheduledSuite/TestVerifyFirstWorkflowTaskScheduled_WorkflowZombie
-
-
-
-
ndc/15 tests-
TestActivityStateReplicatorSuite/4 tests-
go.temporal.io/server/service/history/ndc/TestActivityStateReplicatorSuite/TestSyncActivities_ActivityNotFound -
go.temporal.io/server/service/history/ndc/TestActivityStateReplicatorSuite/TestSyncActivities_WorkflowClosed -
go.temporal.io/server/service/history/ndc/TestActivityStateReplicatorSuite/TestSyncActivity_ActivityNotFound -
go.temporal.io/server/service/history/ndc/TestActivityStateReplicatorSuite/TestSyncActivity_WorkflowClosed
-
-
TestHSMStateReplicatorSuite/9 tests-
TestSyncHSM_StateMachineNotFound/2 tests -
go.temporal.io/server/service/history/ndc/TestHSMStateReplicatorSuite/TestSyncHSM_Diverge_IncomingEventVersionLarger -
go.temporal.io/server/service/history/ndc/TestHSMStateReplicatorSuite/TestSyncHSM_Diverge_LocalEventVersionLarger -
go.temporal.io/server/service/history/ndc/TestHSMStateReplicatorSuite/TestSyncHSM_IncomingEventVersionSuperSet -
go.temporal.io/server/service/history/ndc/TestHSMStateReplicatorSuite/TestSyncHSM_IncomingLastUpdateVersionStale -
go.temporal.io/server/service/history/ndc/TestHSMStateReplicatorSuite/TestSyncHSM_IncomingLastUpdateVersionedTransitionStale -
go.temporal.io/server/service/history/ndc/TestHSMStateReplicatorSuite/TestSyncHSM_IncomingStateStale -
go.temporal.io/server/service/history/ndc/TestHSMStateReplicatorSuite/TestSyncHSM_WorkflowNotFound
-
-
TestWorkflowResetterSuite/2 tests
-
-
replication/2 tests -
workflow/7 tests-
cache/7 tests-
TestWorkflowCacheSuite/7 tests-
go.temporal.io/server/service/history/workflow/cache/TestWorkflowCacheSuite/TestCacheImpl_GetCurrentRunID_CurrentRunExists -
go.temporal.io/server/service/history/workflow/cache/TestWorkflowCacheSuite/TestCacheImpl_GetCurrentRunID_NoCurrentRun -
go.temporal.io/server/service/history/workflow/cache/TestWorkflowCacheSuite/TestHistoryCacheClear -
go.temporal.io/server/service/history/workflow/cache/TestWorkflowCacheSuite/TestHistoryCacheConcurrentAccess_Release -
go.temporal.io/server/service/history/workflow/cache/TestWorkflowCacheSuite/TestHistoryCachePinning -
go.temporal.io/server/service/history/workflow/cache/TestWorkflowCacheSuite/TestHistoryCache_CacheHoldTimeMetricContext -
go.temporal.io/server/service/history/workflow/cache/TestWorkflowCacheSuite/TestHistoryCache_CacheLatencyMetricContext
-
-
-
-
-
-
temporal/4 tests -
temporaltest/6 tests-
go.temporal.io/server/temporaltest/ExampleNewServer -
go.temporal.io/server/temporaltest/TestClientWithCustomInterceptor -
go.temporal.io/server/temporaltest/TestDefaultWorkerOptions -
go.temporal.io/server/temporaltest/TestNewServer -
go.temporal.io/server/temporaltest/TestNewWorkerWithOptions -
go.temporal.io/server/temporaltest/TestSearchAttributeRegistration
-
-
-