Intent of metadata.go ×1
All 85 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
go.temporal.io/85 tests-
server/85 tests-
common/50 tests-
contextutil/30 tests-
TestContextMetadataGet/3 tests -
TestContextMetadataGetActivityTypeAndTaskQueue/6 tests-
go.temporal.io/server/common/contextutil/TestContextMetadataGetActivityTypeAndTaskQueue/ignores_standalone_activity_metadata_keys -
go.temporal.io/server/common/contextutil/TestContextMetadataGetActivityTypeAndTaskQueue/ignores_workflow_metadata_keys -
go.temporal.io/server/common/contextutil/TestContextMetadataGetActivityTypeAndTaskQueue/returns_false_when_multiple_activities_present -
go.temporal.io/server/common/contextutil/TestContextMetadataGetActivityTypeAndTaskQueue/returns_false_when_only_activity_type_present -
go.temporal.io/server/common/contextutil/TestContextMetadataGetActivityTypeAndTaskQueue/returns_false_when_only_task_queue_present -
go.temporal.io/server/common/contextutil/TestContextMetadataGetActivityTypeAndTaskQueue/returns_single_activity_type_and_task_queue
-
-
TestContextMetadataSet/11 tests-
supports_various_value_types/8 tests-
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/bool -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/float -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/int -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/map -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/nil -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/slice -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/string -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/supports_various_value_types/struct
-
-
go.temporal.io/server/common/contextutil/TestContextMetadataSet/overwrites_existing_value -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/sets_multiple_values_successfully -
go.temporal.io/server/common/contextutil/TestContextMetadataSet/sets_string_value_successfully
-
-
TestMetadataContextIsolation/3 tests-
go.temporal.io/server/common/contextutil/TestMetadataContextIsolation/adding_metadata_context_twice_creates_new_isolated_context -
go.temporal.io/server/common/contextutil/TestMetadataContextIsolation/child_context_does_not_inherit_parent_metadata -
go.temporal.io/server/common/contextutil/TestMetadataContextIsolation/contexts_with_different_metadata_are_isolated
-
-
TestMetadataContextWithContextCancellation/1 test
-
rpc/20 tests-
interceptor/20 tests-
TestContextMetadataInterceptor_Intercept/3 tests-
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_Intercept/AddsMetadataContext -
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_Intercept/WithSetTrailer_WithMetadata -
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_Intercept/WithoutSetTrailer
-
-
TestContextMetadataInterceptor_appendContextMetadataToTrailer/4 tests-
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_appendContextMetadataToTrailer/AllPropagatedKeys -
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_appendContextMetadataToTrailer/NoOutgoingContext -
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_appendContextMetadataToTrailer/NonStringValues -
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_appendContextMetadataToTrailer/PartialMetadata
-
-
TestTrailerToContextMetadataInterceptor/7 tests-
go.temporal.io/server/common/rpc/interceptor/TestTrailerToContextMetadataInterceptor/InvokerErrorWithMetadata -
go.temporal.io/server/common/rpc/interceptor/TestTrailerToContextMetadataInterceptor/MixedPrefixedAndUnprefixed -
go.temporal.io/server/common/rpc/interceptor/TestTrailerToContextMetadataInterceptor/UnprefixedWellKnownKeysAccepted -
go.temporal.io/server/common/rpc/interceptor/TestTrailerToContextMetadataInterceptor/WithAllMetadata -
go.temporal.io/server/common/rpc/interceptor/TestTrailerToContextMetadataInterceptor/WithMultipleValues -
go.temporal.io/server/common/rpc/interceptor/TestTrailerToContextMetadataInterceptor/WithWorkflowTaskQueue -
go.temporal.io/server/common/rpc/interceptor/TestTrailerToContextMetadataInterceptor/WithWorkflowType
-
-
go.temporal.io/server/common/rpc/interceptor/TestContextMetadataInterceptor_backwardCompatTrailerKeys -
go.temporal.io/server/common/rpc/interceptor/TestExtractMetadataFromTrailer_ControlCharsInProto -
go.temporal.io/server/common/rpc/interceptor/TestExtractMetadataFromTrailer_FallsBackToLegacy -
go.temporal.io/server/common/rpc/interceptor/TestExtractMetadataFromTrailer_InvalidProtoFallsBackToLegacy -
go.temporal.io/server/common/rpc/interceptor/TestExtractMetadataFromTrailer_PrefersProtoKey -
go.temporal.io/server/common/rpc/interceptor/TestExtractMetadataFromTrailer_ProtoRoundTrip
-
-
-
-
service/25 tests-
history/25 tests-
TestChasmEngineSuite/9 tests-
go.temporal.io/server/service/history/TestChasmEngineSuite/TestDeleteExecution_ClosedExecution_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestDeleteExecution_RunningExecution_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestPollComponent_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestReadComponent_SetsContextMetadata -
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/TestUpdateComponent_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_ExistingRunning_SetsContextMetadata -
go.temporal.io/server/service/history/TestChasmEngineSuite/TestUpdateWithStartExecution_NotFound_SetsContextMetadata
-
-
TestEngineSuite/7 tests-
go.temporal.io/server/service/history/TestEngineSuite/TestQueryWorkflow_ConsistentQueryBufferFull -
go.temporal.io/server/service/history/TestEngineSuite/TestQueryWorkflow_DirectlyThroughMatching -
go.temporal.io/server/service/history/TestEngineSuite/TestQueryWorkflow_RejectBasedOnCompleted -
go.temporal.io/server/service/history/TestEngineSuite/TestQueryWorkflow_RejectBasedOnFailed -
go.temporal.io/server/service/history/TestEngineSuite/TestQueryWorkflow_WorkflowTaskDispatch_Complete -
go.temporal.io/server/service/history/TestEngineSuite/TestQueryWorkflow_WorkflowTaskDispatch_Timeout -
go.temporal.io/server/service/history/TestEngineSuite/TestQueryWorkflow_WorkflowTaskDispatch_Unblocked
-
-
api/9 tests-
respondworkflowtaskcompleted/9 tests-
TestWorkflowTaskCompletedHandlerSuite/9 tests-
TestUpdateWorkflow/8 tests-
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Accept_Complete -
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Discard_speculative_WFT_with_events -
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Do_not_discard_speculative_WFT_with_more_than_10_events -
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/GetHistory_failed -
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Heartbeat_(empty_completion) -
go.temporal.io/server/service/history/api/respondworkflowtaskcompleted/TestWorkflowTaskCompletedHandlerSuite/TestUpdateWorkflow/Reject -
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
-
-
-
-
-
-
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
-
-
-