Intent of statemachine.go ×14
All 108 exact tests in this concept. Every test is marked by where it enters the hierarchy.
-
go.temporal.io/108 tests-
server/108 tests-
components/106 tests-
nexusoperations/106 tests-
TestAddChildWithNewTimeouts/3 tests -
TestCherryPick/6 tests-
go.temporal.io/server/components/nexusoperations/TestCherryPick/DoubleApply -
go.temporal.io/server/components/nexusoperations/TestCherryPick/InvalidRequestID -
go.temporal.io/server/components/nexusoperations/TestCherryPick/InvalidScheduledEventID -
go.temporal.io/server/components/nexusoperations/TestCherryPick/NoRequestID -
go.temporal.io/server/components/nexusoperations/TestCherryPick/ValidRequestID -
go.temporal.io/server/components/nexusoperations/TestCherryPick/shouldExcludeNexusEvents
-
-
TestCompleteExternally/12 tests-
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/backing_off-canceled -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/backing_off-failed -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/backing_off-succeeded -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/backing_off-timedout -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/scheduled-canceled -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/scheduled-failed -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/scheduled-succeeded -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/scheduled-timedout -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/started-canceled -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/started-failed -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/started-succeeded -
go.temporal.io/server/components/nexusoperations/TestCompleteExternally/started-timedout
-
-
TestCompleteFromAttempt/4 tests-
go.temporal.io/server/components/nexusoperations/TestCompleteFromAttempt/canceled -
go.temporal.io/server/components/nexusoperations/TestCompleteFromAttempt/failed -
go.temporal.io/server/components/nexusoperations/TestCompleteFromAttempt/started -
go.temporal.io/server/components/nexusoperations/TestCompleteFromAttempt/succeeded
-
-
TestCompletionHandler_EmitsCallerMetrics/3 tests -
TestProcessCancelationTask/8 tests-
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/endpoint_not_found -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/failure -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/invocation_timeout -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/operation_timeout_by_ScheduleToCloseTimeout -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/operation_timeout_by_StartToCloseTimeout -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/success -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/success_with_headers -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask/transient_error
-
-
TestProcessCancelationTask_SystemEndpoint/4 tests-
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask_SystemEndpoint/chasm_processor_error -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask_SystemEndpoint/history_service_error_-_InvalidArgument_(treated_as_retryable) -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask_SystemEndpoint/history_service_error_-_retryable -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask_SystemEndpoint/success
-
-
TestProcessInvocationTask/14 tests-
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/ScheduleToCloseTimeout_less_than_MinRequestTimeout -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/async_start -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/cancel_before_start -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/endpoint_not_found -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/endpoint_not_found_on_command_processing -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/invocation_timeout_by_ScheduleToCloseTimeout -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/invocation_timeout_by_ScheduleToStartTimeout -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/invocation_timeout_by_request_timeout -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/operation_timeout_header_set_by_StartToCloseTimeout -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/sync_canceled -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/sync_failed -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/sync_start -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/token_to_long -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask/transient_error
-
-
TestProcessInvocationTask_SystemEndpoint/5 tests-
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask_SystemEndpoint/async_start -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask_SystemEndpoint/chasm_processor_error -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask_SystemEndpoint/history_service_error_-_retryable -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask_SystemEndpoint/operation_error -
go.temporal.io/server/components/nexusoperations/TestProcessInvocationTask_SystemEndpoint/sync_start
-
-
TestProcessTimeoutTask_EmitsCallerMetrics/3 tests-
go.temporal.io/server/components/nexusoperations/TestProcessTimeoutTask_EmitsCallerMetrics/schedule-to-close_before_start -
go.temporal.io/server/components/nexusoperations/TestProcessTimeoutTask_EmitsCallerMetrics/schedule-to-close_before_start_with_service_and_operation_tags -
go.temporal.io/server/components/nexusoperations/TestProcessTimeoutTask_EmitsCallerMetrics/start-to-close_after_start
-
-
TestRegenerateTasks/6 tests-
go.temporal.io/server/components/nexusoperations/TestRegenerateTasks/backing_off_|_with_timeout -
go.temporal.io/server/components/nexusoperations/TestRegenerateTasks/backing_off_|_without_timeout -
go.temporal.io/server/components/nexusoperations/TestRegenerateTasks/scheduled_|_with_timeout -
go.temporal.io/server/components/nexusoperations/TestRegenerateTasks/scheduled_|_without_timeout -
go.temporal.io/server/components/nexusoperations/TestRegenerateTasks/started_|_with_start_to_close_timeout -
go.temporal.io/server/components/nexusoperations/TestRegenerateTasks/started_|_without_start_to_close_timeout
-
-
TestTerminalStatesDeletion/4 tests-
go.temporal.io/server/components/nexusoperations/TestTerminalStatesDeletion/CanceledDeletesStateMachine -
go.temporal.io/server/components/nexusoperations/TestTerminalStatesDeletion/CompletedDeletesStateMachine -
go.temporal.io/server/components/nexusoperations/TestTerminalStatesDeletion/FailedDeletesStateMachine -
go.temporal.io/server/components/nexusoperations/TestTerminalStatesDeletion/TimedOutDeletesStateMachine
-
-
workflow/21 tests-
TestHandleCancelCommand/4 tests-
go.temporal.io/server/components/nexusoperations/workflow/TestHandleCancelCommand/attaches_event_group_markers_to_the_cancel-requested_event -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleCancelCommand/operation_already_completed -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleCancelCommand/operation_already_completed_-_completion_buffered -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleCancelCommand/sets_event_attributes_with_UserMetadata_and_spawns_cancelation_child_machine
-
-
TestHandleScheduleCommand/13 tests-
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/attaches_event_group_markers_to_the_scheduled_event -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/both_secondary_timeouts_trimmed_to_schedule-to-close_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/exceeds_max_concurrent_operations -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/operation_timeout_defaults_to_workflow_run_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/operation_timeout_left_as_is_if_less_than_workflow_run_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/operation_timeout_left_as_is_if_no_workflow_run_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/operation_timeout_trimmed_to_workflow_run_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/schedule-to-start_timeout_trimmed_to_schedule-to-close_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/schedule_to_close_timeout_capped_by_dynamic_config -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/schedule_to_close_timeout_capped_by_run_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/secondary_timeouts_not_trimmed_when_less_than_schedule-to-close_timeout -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/sets_event_attributes_with_UserMetadata_and_spawns_a_child_operation_machine -
go.temporal.io/server/components/nexusoperations/workflow/TestHandleScheduleCommand/start-to-close_timeout_trimmed_to_schedule-to-close_timeout
-
-
TestOperationNodeDeletionOnTerminalEvents/4 tests-
go.temporal.io/server/components/nexusoperations/workflow/TestOperationNodeDeletionOnTerminalEvents/canceled_event_deletes_node -
go.temporal.io/server/components/nexusoperations/workflow/TestOperationNodeDeletionOnTerminalEvents/completed_event_deletes_node -
go.temporal.io/server/components/nexusoperations/workflow/TestOperationNodeDeletionOnTerminalEvents/failed_event_deletes_node -
go.temporal.io/server/components/nexusoperations/workflow/TestOperationNodeDeletionOnTerminalEvents/timed_out_event_deletes_node
-
-
-
go.temporal.io/server/components/nexusoperations/TestCancel -
go.temporal.io/server/components/nexusoperations/TestCancelationBeforeStarted -
go.temporal.io/server/components/nexusoperations/TestCancelationValidTransitions -
go.temporal.io/server/components/nexusoperations/TestProcessBackoffTask -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationBackoffTask -
go.temporal.io/server/components/nexusoperations/TestProcessCancelationTask_OperationCompleted -
go.temporal.io/server/components/nexusoperations/TestProcessScheduleToStartTimeoutTask -
go.temporal.io/server/components/nexusoperations/TestProcessStartToCloseTimeoutTask -
go.temporal.io/server/components/nexusoperations/TestProcessTimeoutTask -
go.temporal.io/server/components/nexusoperations/TestRetry -
go.temporal.io/server/components/nexusoperations/TestTransitionStartedEmitsStartToCloseTimeout
-
-
service/2 tests-
history/2 tests-
workflow/2 tests
-
-
-
-