Intent of cache.go ×1
All 84 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
go.temporal.io/84 tests-
server/84 tests-
service/74 tests-
history/74 tests-
TestEngine2Suite/26 tests-
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/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
-
-
TestEngine3Suite/1 test -
TestEngineSuite/3 tests -
TestGetCurrentWorkflowExecutionContext/3 tests-
go.temporal.io/server/service/history/TestGetCurrentWorkflowExecutionContext/current_run_closed,_no_new_run -
go.temporal.io/server/service/history/TestGetCurrentWorkflowExecutionContext/current_run_closed,_with_new_run -
go.temporal.io/server/service/history/TestGetCurrentWorkflowExecutionContext/current_run_running
-
-
TestTimerQueueActiveTaskExecutorSuite/4 tests-
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteChasmPureTimerTask_ClosesTransactionWhenInvalid -
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteChasmPureTimerTask_ExecutesAllPureTimers -
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteChasmSideEffectTimerTask_ExecutesTask -
go.temporal.io/server/service/history/TestTimerQueueActiveTaskExecutorSuite/TestExecuteStateMachineTimerTask_ExecutesAllAvailableTimers
-
-
TestTimerQueueStandbyTaskExecutorSuite/7 tests-
TestExecuteChasmSideEffectTimerTask_Discard/2 tests -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteChasmPureTimerTask_ValidatesAllPureTimers -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteChasmSideEffectTimerTask_ExecutesTask -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteStateMachineTimerTask_ExecutesAllAvailableTimers -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteStateMachineTimerTask_StaleStateMachine -
go.temporal.io/server/service/history/TestTimerQueueStandbyTaskExecutorSuite/TestExecuteStateMachineTimerTask_ValidConcurrentTaskIsKept
-
-
TestTransferQueueActiveTaskExecutorSuite/1 test -
TestTransferQueueStandbyTaskExecutorSuite/3 tests-
TestExecuteChasmSideEffectTransferTask_Discard/2 tests -
go.temporal.io/server/service/history/TestTransferQueueStandbyTaskExecutorSuite/TestExecuteChasmSideEffectTransferTask_ExecutesTask
-
-
api/15 tests-
respondactivitytaskfailed/11 tests-
TestWorkflowSuite/11 tests-
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_ActivityTaskDoesNotExist_ActivityNotRunning -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_ActivityTaskDoesNotExist_TokenVersionDoesNotMatchActivityVersion -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_ActivityTaskDoesNotExist_TokenVersionNonZeroAndAttemptDoesNotMatchActivityAttempt -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_AttemptToAddActivityTaskFailedEventFails_ReturnError -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_CacheRefreshRequired_ReturnCacheStaleError -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_LastHeartBeatDetailsExist_UpdatesMutableState -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_NoMoreRetriesAndMutableStateHasNoPendingTasks_WillRecordFailedEventAndAddWorkflowTaskScheduledEvent -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_NormalFlowShouldRescheduleActivity_UpdatesWorkflowExecutionAsActive -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_NormalFlowShouldRescheduleActivity_UsesOriginalStartedTimeForMetrics -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_RetryActivityFailsWithAnError_WillReturnTheError -
go.temporal.io/server/service/history/api/respondactivitytaskfailed/TestWorkflowSuite/Test_WorkflowExecutionIsNotRunning_ReturnWorkflowNotRunningError
-
-
-
signalwithstartworkflow/2 tests-
TestSignalWithStartWorkflowSuite/2 tests
-
-
signalworkflow/1 test-
TestSignalWorkflowSuite/1 test
-
-
updateworkflowoptions/1 test-
TestUpdateWorkflowOptionsSuite/1 test
-
-
-
ndc/9 tests-
TestWorkflowReplicatorSuite/9 tests-
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ApplyWorkflowState_Ancestors -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ApplyWorkflowState_BrandNew -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ApplyWorkflowState_ExistWorkflow_Resend -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ApplyWorkflowState_ExistWorkflow_SyncHSM -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ReplicateVersionedTransition_DifferentBranch_SyncState -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ReplicateVersionedTransition_FirstTask_SyncMutation -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ReplicateVersionedTransition_MutationProvidedWithGap_ReturnSyncStateError -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ReplicateVersionedTransition_SameBranch_SyncMutation -
go.temporal.io/server/service/history/ndc/TestWorkflowReplicatorSuite/Test_ReplicateVersionedTransition_SameBranch_SyncSnapshot
-
-
-
-
-
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
-
-
-