Intent of controller_mock.go ×1
All 151 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
go.temporal.io/151 tests-
server/151 tests-
service/151 tests-
history/151 tests-
TestChasmEngineSuite/55 tests-
TestConvertError/19 tests-
ContextErrors/4 tests-
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/ContextErrors/ContextCanceled -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/ContextErrors/ContextDeadlineExceeded -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/ContextErrors/WrappedContextCanceled -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/ContextErrors/WrappedContextDeadlineExceeded
-
-
PersistenceErrors/8 tests-
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/AppendHistoryTimeoutError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/ConditionFailedError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/CurrentWorkflowConditionFailedError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/ShardOwnershipLostError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/ShardOwnershipLostError_LookupFails -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/TimeoutError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/TransactionSizeLimitError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/PersistenceErrors/WorkflowConditionFailedError
-
-
WrappedErrors/3 tests-
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/WrappedErrors/WrappedChasmError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/WrappedErrors/WrappedPersistenceError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/WrappedErrors/WrappedServiceError
-
-
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/NotFound -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/NotFound_WithoutBusinessID -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/UncategorizedError -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestConvertError/UnconvertedServiceErrors
-
-
go.temporal.io/server/service/history/TestChasmEngineSuite/TestCloseTime_ReturnsNonZeroWhenCompleted -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestDeleteExecution_ClosedExecution -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestDeleteExecution_ClosedExecution_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestDeleteExecution_RunningExecution -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestDeleteExecution_RunningExecution_SetsContextMetadata -
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/TestPollComponent_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestPollComponent_StaleState -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestPollComponent_Success_NoWait -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestReadComponent_NotFound -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestReadComponent_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestReadComponent_Success -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestSetContextMetadata_NoProvider -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestSetContextMetadata_StateAndRequestScopedValues -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestStartExecution_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestStateTransitionCount -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateComponent_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateComponent_Success -
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
-
-
replication/95 tests-
TestExecutableActivityStateTaskSuite/10 tests-
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestBatchWith_InvalidBatchTask_ShouldNotBatch -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestBatchedTask_ShouldBatchTogether_AndExecute -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestExecute_Err -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestExecute_Process -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestExecute_Skip_Namespace -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestExecute_Skip_TerminalState -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestHandleErr_Other -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestHandleErr_Resend_Error -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestHandleErr_Resend_Success -
go.temporal.io/server/service/history/replication/TestExecutableActivityStateTaskSuite/TestMarkPoisonPill
-
-
TestExecutableBackfillHistoryEventsTaskSuite/6 tests-
go.temporal.io/server/service/history/replication/TestExecutableBackfillHistoryEventsTaskSuite/TestExecute_Err -
go.temporal.io/server/service/history/replication/TestExecutableBackfillHistoryEventsTaskSuite/TestExecute_Process -
go.temporal.io/server/service/history/replication/TestExecutableBackfillHistoryEventsTaskSuite/TestExecute_Skip_Namespace -
go.temporal.io/server/service/history/replication/TestExecutableBackfillHistoryEventsTaskSuite/TestExecute_Skip_TerminalState -
go.temporal.io/server/service/history/replication/TestExecutableBackfillHistoryEventsTaskSuite/TestHandleErr_Resend_Error -
go.temporal.io/server/service/history/replication/TestExecutableBackfillHistoryEventsTaskSuite/TestHandleErr_Resend_Success
-
-
TestExecutableDeleteExecutionTaskSuite/2 tests -
TestExecutableNoopTaskSuite/3 tests -
TestExecutableSyncHSMTaskSuite/7 tests-
go.temporal.io/server/service/history/replication/TestExecutableSyncHSMTaskSuite/TestExecute_Err -
go.temporal.io/server/service/history/replication/TestExecutableSyncHSMTaskSuite/TestExecute_Process -
go.temporal.io/server/service/history/replication/TestExecutableSyncHSMTaskSuite/TestExecute_Skip_Namespace -
go.temporal.io/server/service/history/replication/TestExecutableSyncHSMTaskSuite/TestExecute_Skip_TerminalState -
go.temporal.io/server/service/history/replication/TestExecutableSyncHSMTaskSuite/TestHandleErr_Resend_Error -
go.temporal.io/server/service/history/replication/TestExecutableSyncHSMTaskSuite/TestHandleErr_Resend_Success -
go.temporal.io/server/service/history/replication/TestExecutableSyncHSMTaskSuite/TestMarkPoisonPill
-
-
TestExecutableTaskSuite/29 tests-
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestAbortStateAttempt -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestAckStateAttempt -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestBackFillEvents_Success -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestCancelStateAttempt -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestCreationTime -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_Deleted -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_Error -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_NamespaceFailoverBehind_StillBehandAfterSyncFromRemote -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_NamespaceFailoverNotSync_SyncFromRemoteSuccess -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_NotFoundOnCurrentCluster_SyncFromRemoteFailed -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_NotFoundOnCurrentCluster_SyncFromRemoteSuccess -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_Process -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestGetNamespaceInfo_Skip -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestIsRetryableError -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestMarkPoisonPill -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestMarkPoisonPill_MaxAttemptsReached -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestNackStateAttempt -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestRescheduleStateAttempt -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestResend_Error -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestResend_NotFound -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestResend_ResendError_Error -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestResend_ResendError_Success -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestResend_SecondResendError_SameWorkflowRun -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestResend_Success -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestResend_TransitionHistoryDisabled -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestSyncState -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestSyncState_NotFound -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestSyncState_SourceMutableStateHasUnFlushedBufferEvents -
go.temporal.io/server/service/history/replication/TestExecutableTaskSuite/TestTaskID
-
-
TestExecutableUnknownTaskSuite/3 tests -
TestExecutableVerifyVersionedTransitionTaskSuite/9 tests-
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_CurrentBranch_NewRunNotFound -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_CurrentBranch_NotUpToDate -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_CurrentBranch_VerifySuccess -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_Err -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_MissingVersionedTransition -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_NonCurrentBranch_NotUpToDate -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_NonCurrentBranch_VerifySuccess -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_Skip_Namespace -
go.temporal.io/server/service/history/replication/TestExecutableVerifyVersionedTransitionTaskSuite/TestExecute_Skip_TerminalState
-
-
TestExecutableWorkflowStateTaskSuite/7 tests-
go.temporal.io/server/service/history/replication/TestExecutableWorkflowStateTaskSuite/TestExecute_Err -
go.temporal.io/server/service/history/replication/TestExecutableWorkflowStateTaskSuite/TestExecute_Process -
go.temporal.io/server/service/history/replication/TestExecutableWorkflowStateTaskSuite/TestExecute_Skip_Namespace -
go.temporal.io/server/service/history/replication/TestExecutableWorkflowStateTaskSuite/TestExecute_Skip_TerminalState -
go.temporal.io/server/service/history/replication/TestExecutableWorkflowStateTaskSuite/TestHandleErr_Resend_Error -
go.temporal.io/server/service/history/replication/TestExecutableWorkflowStateTaskSuite/TestHandleErr_Resend_Success -
go.temporal.io/server/service/history/replication/TestExecutableWorkflowStateTaskSuite/TestMarkPoisonPill
-
-
TestStreamReceiverMonitorSuite/14 tests-
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestDoReconcileInboundStreams_Add -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestDoReconcileInboundStreams_Reactivate -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestDoReconcileInboundStreams_Remove -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestDoReconcileOutboundStreams_Add -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestDoReconcileOutboundStreams_Reactivate -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestDoReconcileOutboundStreams_Remove -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestEvaluateStreamStatus -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestGenerateInboundStreamKeys_1From4 -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestGenerateInboundStreamKeys_4From1 -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestGenerateOutboundStreamKeys_1To4 -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestGenerateOutboundStreamKeys_4To1 -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestGenerateStatusMap_Success -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestStop_SkipsInboundStreamsWhenFlagDisabled -
go.temporal.io/server/service/history/replication/TestStreamReceiverMonitorSuite/TestStop_StopsInboundStreams
-
-
eventhandler/5 tests-
TestHistoryEventHandlerSuite/5 tests-
go.temporal.io/server/service/history/replication/eventhandler/TestHistoryEventHandlerSuite/TestHandleHistoryEvents_LocalAndRemote_HandleLocalThenRemote -
go.temporal.io/server/service/history/replication/eventhandler/TestHistoryEventHandlerSuite/TestHandleHistoryEvents_LocalOnly_ExistButNotEnoughEvents_DataLose -
go.temporal.io/server/service/history/replication/eventhandler/TestHistoryEventHandlerSuite/TestHandleHistoryEvents_LocalOnly_ImportAllLocalAndCommit -
go.temporal.io/server/service/history/replication/eventhandler/TestHistoryEventHandlerSuite/TestHandleHistoryEvents_RemoteOnly -
go.temporal.io/server/service/history/replication/eventhandler/TestHistoryEventHandlerSuite/TestHandleLocalHistoryEvents_AlreadyExist
-
-
-
-
go.temporal.io/server/service/history/TestDescribeHistoryHost
-
-
-
-