MCPcopy Create free account

hub / github.com/Azure/ARO-HCP / functions

Functions10,266 in github.com/Azure/ARO-HCP

FunctionTestNewPurgeDeletedStep_ReturnsErrorWhenInvalid
(t *testing.T)
tooling/cleanup-sweeper/pkg/engine/steps/keyvault/purge_deleted_test.go:77
FunctionTestNewQueryClient
(t *testing.T)
tooling/hcpctl/pkg/mustgather/queryclient_test.go:91
FunctionTestNewReadDesireKubernetesController_RejectsIncompleteTarget
TestNewReadDesireKubernetesController_RejectsIncompleteTarget exercises the pre-flight validation in the constructor: missing version, resource, or na
kube-applier/pkg/controllers/read_desire_kubernetes/controller_test.go:226
FunctionTestNewRegistryClient
(t *testing.T)
tooling/image-updater/internal/clients/common_test.go:310
FunctionTestNewRoleAssignmentSource
(t *testing.T)
tooling/tenant-quota/pkg/subscriptionquota/roleassignments_test.go:24
FunctionTestNodePoolActiveVersionSyncer_NeedsWork
TestNodePoolActiveVersionSyncer_NeedsWork exercises the predicate directly so failure modes there don't depend on the SyncOnce control flow.
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_controller_test.go:363
FunctionTestNodePoolActiveVersionSyncer_NoReplaceWhenVersionsUnchanged
TestNodePoolActiveVersionSyncer_NoReplaceWhenVersionsUnchanged is a regression test ensuring we don't churn the SPNP fixture on every reconcile when n
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_controller_test.go:328
FunctionTestNodePoolActiveVersionSyncer_RealCosmosFixture
TestNodePoolActiveVersionSyncer_RealCosmosFixture is a regression test built from Cosmos documents captured on a real cluster. The captured SPNP had a
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_real_cosmos_test.go:100
FunctionTestNodePoolActiveVersionSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_controller_test.go:97
FunctionTestNodePoolChildResourcesCleanupController_SyncOnce
(t *testing.T)
backend/pkg/controllers/nodepooldeletion/node_pool_child_resources_cleanup_controller_test.go:75
FunctionTestNodePoolClusterServiceCreateSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/nodepoolcreationcontrollers/node_pool_cluster_service_create_controller_test.go:61
FunctionTestNodePoolClusterServiceDeleteDispatchSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller_test.go:62
FunctionTestNodePoolClusterServiceDeleteDispatchSyncer_SyncOnce_cacheShortCircuit
(t *testing.T)
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller_test.go:287
FunctionTestNodePoolClusterServiceDeleteDispatchSyncer_SyncOnce_firstSeenDeletionCacheCleared
(t *testing.T)
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller_test.go:362
FunctionTestNodePoolClusterServiceDeleteDispatchSyncer_SyncOnce_firstSeenDeletionCachePopulation
(t *testing.T)
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller_test.go:325
FunctionTestNodePoolClusterServiceIDClearer_SyncOnce
(t *testing.T)
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_id_clearer_test.go:40
FunctionTestNodePoolConvertToInternal_AcceptsExplicitFalseAutoRepair
TestNodePoolConvertToInternal_AcceptsExplicitFalseAutoRepair verifies that AutoRepair=false (explicit, not null) is accepted and preserved.
internal/api/v20260630preview/patch_validation_test.go:150
FunctionTestNodePoolConvertToInternal_AcceptsExplicitFalseAutoRepair
TestNodePoolConvertToInternal_AcceptsExplicitFalseAutoRepair verifies that AutoRepair=false (explicit, not null) is accepted and preserved.
internal/api/v20251223preview/patch_validation_test.go:150
FunctionTestNodePoolConvertToInternal_RejectsNullAutoRepair
TestNodePoolConvertToInternal_RejectsNullAutoRepair verifies that ConvertToInternal returns a validation error when AutoRepair is nil.
internal/api/v20260630preview/patch_validation_test.go:134
FunctionTestNodePoolConvertToInternal_RejectsNullAutoRepair
TestNodePoolConvertToInternal_RejectsNullAutoRepair verifies that ConvertToInternal returns a validation error when AutoRepair is nil.
internal/api/v20251223preview/patch_validation_test.go:134
FunctionTestNodePoolDegradedAggregator_SyncOnce
(t *testing.T)
backend/pkg/controllers/statuscontrollers/nodepool_degraded_aggregator_test.go:68
FunctionTestNodePoolDeletionController_SyncOnce
(t *testing.T)
backend/pkg/controllers/nodepooldeletion/node_pool_deletion_controller_test.go:36
FunctionTestNodePoolEnsureDefaults
(t *testing.T)
internal/database/convert_nodepool_test.go:23
FunctionTestNodePoolMetricsHandler_SetsMetrics
(t *testing.T)
backend/pkg/controllers/metricscontrollers/resource_metrics_controller_test.go:133
FunctionTestNodePoolMismatchController
(t *testing.T)
test-integration/backend/controllers/mismatches/nodepool_mismatch_test.go:35
FunctionTestNodePoolValidationSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/validationcontrollers/nodepool_validation_controller_test.go:137
FunctionTestNodePoolVersionSyncer_NeedsWork
TestNodePoolVersionSyncer_NeedsWork covers the cache-evaluable conditions that decide whether the desired-version controller has anything to do. The S
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:527
FunctionTestNodePoolVersionSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:206
FunctionTestNodePoolVersionSyncer_SyncOnce_DesiredExceedsControlPlaneFails
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:974
FunctionTestNodePoolVersionSyncer_SyncOnce_DesiredVersionUnchangedOnFailure_ChangedOnSuccess
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1326
FunctionTestNodePoolVersionSyncer_SyncOnce_DowngradeVersionNotInCincinnatiFails
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1142
FunctionTestNodePoolVersionSyncer_SyncOnce_DowngradeWithinSkewSucceeds
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1201
FunctionTestNodePoolVersionSyncer_SyncOnce_IntentFailed
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:297
FunctionTestNodePoolVersionSyncer_SyncOnce_SucceedsWithoutCincinnatiEdge
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1021
FunctionTestNodePoolVersionSyncer_SyncOnce_ValidUpgradeSucceeds
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1263
FunctionTestNodePoolVersionSyncer_SyncOnce_VersionNotInCincinnatiFails
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1083
FunctionTestNodePoolVersionSyncer_ValidateDesiredNodePoolVersion
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:563
FunctionTestNodePoolZeroValueRoundTripThroughJSON
TestNodePoolZeroValueRoundTripThroughJSON verifies that explicit zero values survive a GET-then-PUT round-trip through JSON serialization. These test
internal/api/v20260630preview/zero_value_roundtrip_test.go:44
FunctionTestNodePoolZeroValueRoundTripThroughJSON
TestNodePoolZeroValueRoundTripThroughJSON verifies that explicit zero values survive a GET-then-PUT round-trip through JSON serialization. These test
internal/api/v20251223preview/zero_value_roundtrip_test.go:44
FunctionTestNodeRolloutConfig
(t *testing.T)
tooling/helmtest/main_test.go:31
FunctionTestNonNilSliceValues
(t *testing.T)
internal/api/utils_test.go:203
FunctionTestNormalizeArchitecture
(t *testing.T)
tooling/image-updater/internal/clients/common_test.go:126
FunctionTestNormalizeOSDiskProfile
(t *testing.T)
internal/api/v20240610preview/nodepools_methods_test.go:207
FunctionTestNormalizeOSDiskProfile
(t *testing.T)
internal/api/v20260630preview/nodepools_methods_test.go:211
FunctionTestNormalizeOSDiskProfile
(t *testing.T)
internal/api/v20251223preview/nodepools_methods_test.go:211
FunctionTestNormalizeOSDiskProfile_DiskType
(t *testing.T)
internal/api/v20260630preview/nodepools_methods_test.go:294
FunctionTestNormalizeOSDiskProfile_DiskType
(t *testing.T)
internal/api/v20251223preview/nodepools_methods_test.go:294
FunctionTestObjectMetaAccessor
(t *testing.T)
internal/api/kubeapplier/types_runtime_test.go:178
FunctionTestOldRevisionFrom
(t *testing.T)
tooling/templatize/pkg/istio/upgrade_test.go:911
FunctionTestOpenshiftVersion
(t *testing.T)
internal/validation/validate_cluster_test.go:32
FunctionTestOperationClusterCreate_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_cluster_create_test.go:54
FunctionTestOperationClusterDelete_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_cluster_delete_test.go:42
FunctionTestOperationClusterUpdate_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_cluster_update_test.go:47
FunctionTestOperationControllerSyncResource_DeleteIsNoOp
TestOperationControllerSyncResource_DeleteIsNoOp documents that the controller framework calls handler.Delete when an operation is removed from the in
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:259
FunctionTestOperationControllerSyncResource_SetsMetricsFromIndexer
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:219
FunctionTestOperationExternalAuthCreate_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_external_auth_create_test.go:38
FunctionTestOperationExternalAuthDelete_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_external_auth_delete_test.go:42
FunctionTestOperationExternalAuthUpdate_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_external_auth_update_test.go:38
FunctionTestOperationFor
(t *testing.T)
tooling/templatize/pkg/pipeline/arm_operations_test.go:95
FunctionTestOperationNodePoolCreate_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_node_pool_create_test.go:42
FunctionTestOperationNodePoolDelete_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_node_pool_delete_test.go:42
FunctionTestOperationNodePoolUpdate_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_node_pool_update_test.go:43
FunctionTestOperationPhaseMetricsHandler_DeleteIsNoOp
TestOperationPhaseMetricsHandler_DeleteIsNoOp verifies that handler.Delete does NOT remove series for the operation. See the Delete doc-comment for th
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:543
FunctionTestOperationPhaseMetricsHandler_DeleteOnSiblingDoesNotBlankActiveSeries
TestOperationPhaseMetricsHandler_DeleteOnSiblingDoesNotBlankActiveSeries is the direct regression guard for the bug a previous iteration of this PR in
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:610
FunctionTestOperationPhaseMetricsHandler_LowercasesResourceID
TestOperationPhaseMetricsHandler_LowercasesResourceID verifies that ARM ids with mixed case (e.g. Microsoft.RedHatOpenShift) are emitted lowercased to
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:484
FunctionTestOperationPhaseMetricsHandler_MultipleOperations
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:360
FunctionTestOperationPhaseMetricsHandler_MultipleOpsSameExternalIDCollapseToOneSeries
TestOperationPhaseMetricsHandler_MultipleOpsSameExternalIDCollapseToOneSeries documents the design decision that multiple operations sharing one ARM r
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:581
FunctionTestOperationPhaseMetricsHandler_NilOperationIDDoesNotBlankSibling
TestOperationPhaseMetricsHandler_NilOperationIDDoesNotBlankSibling guards against future regressions of the nil-OperationID branch in Sync. The branch
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:649
FunctionTestOperationPhaseMetricsHandler_PhaseTransitionDeletesOldSeries
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:189
FunctionTestOperationPhaseMetricsHandler_ResourceIDIsExternalIDNotCosmosID
TestOperationPhaseMetricsHandler_ResourceIDIsExternalIDNotCosmosID asserts that the resource_id label is the ARM resource id from op.ExternalID, not t
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:418
FunctionTestOperationPhaseMetricsHandler_SetsAllThreeMetrics
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:169
FunctionTestOperationPhaseMetricsHandler_SkipsNilOperationID
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:318
FunctionTestOperationPhaseMetricsHandler_SkipsWhenExternalIDNil
TestOperationPhaseMetricsHandler_SkipsWhenExternalIDNil verifies that an operation with no ExternalID (which would happen if the always-set invariant
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:458
FunctionTestOperationPhaseMetricsHandler_SkipsZeroTimestamps
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:341
FunctionTestOperationPhaseMetricsHandler_SubscriptionIDFromExternalID
TestOperationPhaseMetricsHandler_SubscriptionIDFromExternalID verifies that subscription_id co-switches to op.ExternalID.SubscriptionID alongside reso
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:512
FunctionTestOperationPhaseMetricsHandler_VerifiesLabelValues
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:390
FunctionTestOperationRequestCredential_ShouldProcess
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_request_credential_test.go:39
FunctionTestOperationRequestCredential_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_request_credential_test.go:81
FunctionTestOperationRevokeCredentials_ShouldProcess
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_revoke_credentials_test.go:38
FunctionTestOperationRevokeCredentials_SynchronizeOperation
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_revoke_credentials_test.go:85
FunctionTestOperationTypeMetricLabel
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:119
FunctionTestOperationsList
(t *testing.T)
frontend/pkg/frontend/frontend_test.go:77
FunctionTestOptionsComplete
(t *testing.T)
tooling/prometheus-rules/internal/generator_test.go:112
FunctionTestOptionsGenerate
(t *testing.T)
tooling/prometheus-rules/internal/generator_test.go:537
FunctionTestOptionsRunTests
(t *testing.T)
tooling/prometheus-rules/internal/generator_test.go:491
FunctionTestOrphanedBillingCleanup_SyncOnce
(t *testing.T)
backend/pkg/controllers/billingcontrollers/orphaned_billing_cleanup_test.go:59
FunctionTestParameterizeClusterRoleBindingSubjectsNamespace
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:82
FunctionTestParameterizeDeployment
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:195
FunctionTestParameterizeImageComponents
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/utils_test.go:23
FunctionTestParameterizeNamespace
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:30
FunctionTestParameterizeNamespaceNoNamespace
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:39
FunctionTestParameterizeOperandsImageRegistry
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:141
FunctionTestParameterizeRoleBindingSubjectsNamespace
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:47
FunctionTestParseClusterIdentifier
(t *testing.T)
tooling/hcpctl/pkg/common/validation_test.go:22
FunctionTestParseClusterIdentifier
TestParseClusterIdentifier tests parsing of cluster identifiers (both IDs and resource IDs).
tooling/hcpctl/cmd/hcp/options_test.go:324
FunctionTestParseCreatedAt_AzureFormat
(t *testing.T)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:193
FunctionTestParseEnvConfig
(t *testing.T)
dev-infrastructure/scripts/postgres-access/main_test.go:22
FunctionTestParseISO8601Duration
(t *testing.T)
tooling/templatize/cmd/entrypoint/visualize/options_test.go:22
FunctionTestParseKnownIssues
(t *testing.T)
test/cmd/aro-hcp-tests/gather-observability/known_issues_test.go:21
FunctionTestParseNSRecordSetTargetID
(t *testing.T)
tooling/cleanup-sweeper/pkg/engine/steps/dns/dns_step_test.go:90
← previousnext →8,701–8,800 of 10,266, ranked by callers