Intent of metadata_mock.go ×1
All 132 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
go.temporal.io/132 tests-
server/132 tests-
chasm/2 tests -
common/3 tests-
namespace/3 tests-
nsmanager/3 tests-
TestAttrValidatorSuite/3 tests-
go.temporal.io/server/common/namespace/nsmanager/TestAttrValidatorSuite/TestClusterName -
go.temporal.io/server/common/namespace/nsmanager/TestAttrValidatorSuite/TestValidateNamespaceReplicationConfigForGlobalNamespace -
go.temporal.io/server/common/namespace/nsmanager/TestAttrValidatorSuite/TestValidateNamespaceReplicationConfigForLocalNamespace
-
-
-
-
-
service/125 tests-
frontend/55 tests-
TestAdminHandlerSuite/8 tests-
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_GetClusterMetadata_Error -
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_RecordFound_Success -
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_RecordNotFound_Success -
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_SaveClusterMetadata_Error -
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_SaveClusterMetadata_NotApplied_Error -
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_ShardCount_Multiple -
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_ValidationError_EmptyRPCAddressWhenEnabled -
go.temporal.io/server/service/frontend/TestAdminHandlerSuite/Test_AddOrUpdateRemoteCluster_ValidationError_InitialFailoverVersionConflict
-
-
TestNamespaceHandlerCommonSuite/19 tests-
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestFailoverGlobalNamespace_NotMaster -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterGlobalNamespace_AllDefault -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterGlobalNamespace_NoDefault -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterLocalNamespace_AllDefault -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterLocalNamespace_InvalidCluster -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterLocalNamespace_NoDefault -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterLocalNamespace_NotMaster -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterNamespace_WithOneCluster -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestRegisterNamespace_WithTwoCluster -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateGlobalNamespace_AllAttrSet -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateGlobalNamespace_NoAttrSet -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateGlobalNamespace_NotMaster -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateLocalNamespace_AllAttrSet -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateLocalNamespace_NoAttrSet -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateLocalNamespace_NotMaster -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateNamespace_ChangeActiveClusterWithoutUpdatingReplicationState -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateNamespace_PromoteLocalNamespace -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateNamespace_UpdateActiveClusterWithHandoverState -
go.temporal.io/server/service/frontend/TestNamespaceHandlerCommonSuite/TestUpdateNamespace_UpdateActiveCluster_LimitRecordHistory
-
-
TestOperatorHandlerSuite/15 tests-
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_GetClusterMetadata_Error -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_RecordFound_Success -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_RecordNotFound_Success -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_SaveClusterMetadata_Error -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_SaveClusterMetadata_NotApplied_Error -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_ShardCount_Multiple -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_ValidationError_EmptyRPCAddressWhenEnabled -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_AddOrUpdateRemoteCluster_ValidationError_InitialFailoverVersionConflict -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_RemoveRemoteCluster_BlockedByGlobalNamespace -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_RemoveRemoteCluster_DeletedNamespaceDoesNotBlock -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_RemoveRemoteCluster_Error -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_RemoveRemoteCluster_LocalNamespaceDoesNotBlock -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_RemoveRemoteCluster_OrphanedNamespaceDoesNotBlock -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_RemoveRemoteCluster_Success -
go.temporal.io/server/service/frontend/TestOperatorHandlerSuite/Test_RemoveRemoteCluster_UnrelatedNamespaceDoesNotBlock
-
-
TestWorkflowHandlerSuite/13 tests-
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestDeleteNamespace_Error -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestDeleteNamespace_Success -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestDeprecateNamespace_Error -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestDeprecateNamespace_Success -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestRegisterNamespace_Success_ClusterNotConfiguredForArchival -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestRegisterNamespace_Success_EnabledWithArchivalURI -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestRegisterNamespace_Success_EnabledWithNoArchivalURI -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestRegisterNamespace_Success_NotEnabled -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestUpdateNamespace_Success_ArchivalEnabledToArchivalDisabledWithSettingBucket -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestUpdateNamespace_Success_ArchivalEnabledToArchivalDisabledWithoutSettingURI -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestUpdateNamespace_Success_ArchivalEnabledToEnabled -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestUpdateNamespace_Success_ArchivalNeverEnabledToEnabled -
go.temporal.io/server/service/frontend/TestWorkflowHandlerSuite/TestUpdateNamespace_Success_ClusterNotConfiguredForArchival
-
-
-
history/67 tests-
TestEngineSuite/3 tests-
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskCompletedUpdateExecutionFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondActivityTaskFailedUpdateExecutionFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestRespondWorkflowTaskCompletedUpdateExecutionFailed
-
-
api/1 test-
respondworkflowtaskcompleted/1 test-
TestWorkflowTaskCompletedHandlerSuite/1 test
-
-
-
queues/10 tests-
TestExecutableSuite/5 tests-
go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecute_DLQ -
go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecute_DLQFailThenRetry -
go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecute_SendToDLQAfterMaxAttempts -
go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecute_SendToDLQErrPatternMatchesMultiple -
go.temporal.io/server/service/history/queues/TestExecutableSuite/TestExecute_SendsInternalErrorsToDLQ_WhenEnabled
-
-
TestQueueBaseSuite/5 tests-
go.temporal.io/server/service/history/queues/TestQueueBaseSuite/TestCheckPoint_MoveTaskGroupAction -
go.temporal.io/server/service/history/queues/TestQueueBaseSuite/TestCheckPoint_NoPendingTasks -
go.temporal.io/server/service/history/queues/TestQueueBaseSuite/TestCheckPoint_SlicePredicateAction -
go.temporal.io/server/service/history/queues/TestQueueBaseSuite/TestCheckPoint_WithPendingTasks_PerformRangeCompletion -
go.temporal.io/server/service/history/queues/TestQueueBaseSuite/TestCheckPoint_WithPendingTasks_SkipRangeCompletion
-
-
-
replication/20 tests-
TestExecutableTaskSuite/4 tests-
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
-
-
TestStreamReceiverMonitorSuite/6 tests-
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/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
-
-
TestStreamReceiverSuite/6 tests-
go.temporal.io/server/service/history/replication/TestStreamReceiverSuite/TestProcessMessage_Err -
go.temporal.io/server/service/history/replication/TestStreamReceiverSuite/TestProcessMessage_TrackSubmit_SingleStack -
go.temporal.io/server/service/history/replication/TestStreamReceiverSuite/TestProcessMessage_TrackSubmit_SingleStack_ReceivedPrioritizedTask -
go.temporal.io/server/service/history/replication/TestStreamReceiverSuite/TestProcessMessage_TrackSubmit_TieredStack -
go.temporal.io/server/service/history/replication/TestStreamReceiverSuite/TestProcessMessage_TrackSubmit_TieredStack_ReceivedNonPrioritizedTask -
go.temporal.io/server/service/history/replication/TestStreamReceiverSuite/TestRecvEventLoop_Panic_Captured
-
-
shard/32 tests-
TestShardContextSuite/16 tests-
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestAcquireShardEventuallySucceeds -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestAcquireShardNoError -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestAcquireShardNonOwnershipLostErrorIsRetried -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestAcquireShardOwnershipLostErrorIsNotRetried -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestHandoverNamespace -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestShardStopReasonAcquireShard -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateGetRemoteClusterInfo_Legacy_4_8 -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateGetRemoteClusterInfo_Legacy_8_4 -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateGetRemoteReaderInfo_4_8 -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateGetRemoteReaderInfo_8_4 -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateShardInfo_CallbackIsInvoked_EvenWhenNotPersisted -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateShardInfo_FailsUnlessShardAcquired -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateShardInfo_FirstUpdate -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateShardInfo_OnlyPersistsAfterInterval_WhenTaskCheckingDisabled -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateShardInfo_PersistsAfterInterval_RegardlessOfTasksCompleted -
go.temporal.io/server/service/history/shard/TestShardContextSuite/TestUpdateShardInfo_PersistsBeforeInterval_WhenEnoughTasksCompleted
-
-
TestShardControllerSuite/16 tests-
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardRenewLookupFailed -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardRenewSuccess -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardSuccess -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestAcquireShardsConcurrently -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestHistoryEngineClosed -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_Blocked -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_Error -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_MembershipChanged -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestReadiness_Ready -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardControllerClosed -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardControllerFuzz -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardCounter -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardExplicitUnload -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardExplicitUnloadCancelAcquire -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardLingerSuccess -
go.temporal.io/server/service/history/shard/TestShardControllerSuite/TestShardLingerTimeout
-
-
-
-
-