MCPcopy Create free account

hub / github.com/akash-network/provider / functions

Functions3,441 in github.com/akash-network/provider

FunctionTestAdjust_InterconnectGroup_TwoServicesOneEach_OneNode_Rejected
Same shape, but only one node. Both peers cannot land on it (anti-affinity would be unschedulable), so Adjust must reject.
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:144
FunctionTestAdjust_InterconnectGroup_TwoServicesOneEach_TwoNodes_Success
Two services in pair0, count=1 each. 2 nodes, 8 GPUs each. Bid should succeed because each service can claim a distinct node.
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:132
FunctionTestAllHostnames_KeepsDamagedProviderHostsReserved
Hostname reservations compare owner, dseq and gseq only. A ProviderHost whose spec does not yield a valid lease ID must neither abort provider startup
cluster/kube/client_hostname_connections_test.go:92
FunctionTestAssign
(t *testing.T)
testutil/shard/shard_test.go:115
FunctionTestAssignPlacesEveryItemOnceWithinBound
Every item lands on exactly one shard, in ascending order, and no shard that gets items ends more than one item above the average load.
testutil/shard/shard_test.go:182
FunctionTestAssignRejectsInvalidInput
(t *testing.T)
testutil/shard/shard_test.go:244
FunctionTestAttemptReclaimCloseBroadcastsWhenElapsed
(t *testing.T)
cluster/manager_reclaim_test.go:71
FunctionTestAttemptReclaimCloseGatesOnBlockTimeNotWallClock
(t *testing.T)
cluster/manager_reclaim_test.go:91
FunctionTestAttemptReclaimCloseRetriesOnBroadcastError
(t *testing.T)
cluster/manager_reclaim_test.go:113
FunctionTestAttemptReclaimCloseSkipsWhileCatchingUp
(t *testing.T)
cluster/manager_reclaim_test.go:103
FunctionTestAttestationSidecarEnvMock
(t *testing.T)
cmd/provider-services/cmd/attestation_env_test.go:25
FunctionTestAttestationSidecarEnvPropagatesLogging
(t *testing.T)
cmd/provider-services/cmd/attestation_env_test.go:12
FunctionTestAuthErrorResponseDoesNotLogHTTPErrors
(t *testing.T)
gateway/rest/auth_test.go:29
FunctionTestAuthErrorResponseLogsUnknownError
(t *testing.T)
gateway/rest/auth_test.go:16
FunctionTestAuthProcess_ErrAuthAmbiguous
(t *testing.T)
gateway/utils/utils_test.go:101
FunctionTestAuthProcess_NoTokenReturnsClaims
(t *testing.T)
gateway/utils/utils_test.go:111
FunctionTestBalanceCheckerBatchesWithdrawalsDueWhileOneIsPending
Leases that fall due while a withdrawal is pending wait for it, and are then withdrawn from together, in transactions of at most maxWithdrawBatch leas
balance_checker_test.go:1225
FunctionTestBalanceCheckerClosesLeaseWithTerminalEscrow
The chain can leave a lease active after its escrow payment or account closed or was overdrawn, e.g. when the escrow hook skipped the lease. None of t
balance_checker_test.go:209
FunctionTestBalanceCheckerDropsFailedBatchWithdrawalOfReplacedMonitor
The leases of a failed batch are each withdrawn from again alone. A lease removed and added again while it waits for that is monitored afresh: the wit
balance_checker_test.go:1462
FunctionTestBalanceCheckerDropsQueuedWithdrawalOfClosedLease
A lease reported closed while its withdrawal waits is being torn down, so its withdrawal is not sent.
balance_checker_test.go:1334
FunctionTestBalanceCheckerDropsQueuedWithdrawalOfRemovedLease
A lease removed while its withdrawal waits is being torn down, so its withdrawal is not sent.
balance_checker_test.go:1310
FunctionTestBalanceCheckerDropsQueuedWithdrawalOfReplacedMonitor
A lease removed and added again while its withdrawal waits is monitored afresh: the withdrawal queued for its removed monitor is dropped, so the lease
balance_checker_test.go:1368
FunctionTestBalanceCheckerExpiredTimer
(t *testing.T)
balance_checker_test.go:885
FunctionTestBalanceCheckerIgnoresClosedEscrowForRemovedLease
Removing a lease's funds monitor means its teardown is already under way, so a closed-escrow withdrawal failure that arrives afterwards must not tear
balance_checker_test.go:687
FunctionTestBalanceCheckerIgnoresClosedEscrowForReplacedMonitor
The result of a removed monitor's withdrawal is ignored, as for a removed lease, even when it finds the escrow closed: the lease's new monitor withdra
balance_checker_test.go:1519
FunctionTestBalanceCheckerIgnoresLeaseReportedClosed
Once the checker has reported a lease closed, it no longer acts on the lease while the cluster removes it with LeaseRemoveFundsMonitor: not on its sch
balance_checker_test.go:786
FunctionTestBalanceCheckerKeepsReplacedMonitorWithdrawalApart
The result of a removed monitor's withdrawal, success or failure, does not touch the lease's new monitor: while the new monitor's own withdrawal is pe
balance_checker_test.go:1400
FunctionTestBalanceCheckerLogsWithdrawalsOffWithoutPeriod
Without a withdrawal period the checker says at startup that withdrawals are off: no withdrawal settles the escrow of a lease out of funds, so the cha
balance_checker_test.go:1107
FunctionTestBalanceCheckerNeverWithdrawsWithoutWithdrawalPeriod
With --withdrawal-period=0 the balance checker only checks balances. A lease out of funds is checked again at every funds check, but never withdrawn f
balance_checker_test.go:1177
FunctionTestBalanceCheckerPreservesNonterminalAndUncertainLeases
(t *testing.T)
balance_checker_test.go:45
FunctionTestBalanceCheckerReclaimingLeaseFunds
(t *testing.T)
balance_checker_test.go:127
FunctionTestBalanceCheckerReconcilesClosedLease
(t *testing.T)
balance_checker_test.go:278
FunctionTestBalanceCheckerRetriesFailedWithdrawalAtNextCheck
A withdrawal that fails for any reason but a closed escrow is sent again at the lease's next funds check, instead of waiting for the next withdrawal p
balance_checker_test.go:1560
FunctionTestBalanceCheckerRetryTearsDownAfterUncodedWithdrawFailure
Gas simulation strips the escrow code from a withdrawal failure, so the failure alone does not show that the escrow closed. The lease stays monitored,
balance_checker_test.go:728
FunctionTestBalanceCheckerSchedulesNoWithdrawalOfLeaseFoundAtStartupWithoutPeriod
The first withdrawals of the leases found at startup are spread over the withdrawal period. Without a period none is scheduled for them either.
balance_checker_test.go:1203
FunctionTestBalanceCheckerSendsEachLeaseOfFailedBatchAlone
A transaction succeeds or fails as a whole, so the leases of a failed batch are each withdrawn from again alone. Each lease then gets its own result:
balance_checker_test.go:1265
FunctionTestBalanceCheckerSendsNoWithdrawalAfterStopping
Once the checker stops, a withdrawal not yet sent is dropped: the tx client would take it even on an ended context.
balance_checker_test.go:934
FunctionTestBalanceCheckerSendsOneWithdrawalAtATime
While a withdrawal's broadcast is outstanding, the lease's funds checks go on, so a closed escrow is still noticed, but no other withdrawal is sent fo
balance_checker_test.go:605
FunctionTestBalanceCheckerSpreadsWithdrawalsOfLeasesFoundAtStartup
The leases found at startup start monitoring together, so their first periodic withdrawals are spread over the withdrawal period instead of all fallin
balance_checker_test.go:1625
FunctionTestBalanceCheckerStopsWaitingForWithdrawalOnClose
A withdrawal waiting on its broadcast stops waiting when the checker stops.
balance_checker_test.go:571
FunctionTestBalanceCheckerWaitsForWithdrawalBroadcast
A withdrawal waits for its broadcast to finish, however long the tx queue holds it, so the checker acts on the outcome: a withdrawal that finds the es
balance_checker_test.go:541
FunctionTestBalanceCheckerWithdrawFailure
A withdrawal that fails with the escrow code for a closed payment or account can never succeed, so the lease is torn down instead of retried. Failures
balance_checker_test.go:462
FunctionTestBlockedDomain
(t *testing.T)
cluster/hostname_test.go:57
FunctionTestBlockedHostname
(t *testing.T)
cluster/hostname_test.go:39
FunctionTestBuildHTTPRouteSpecExtensionRef
TestBuildHTTPRouteSpecExtensionRef asserts the rule gains an ExtensionRef filter to the route's SnippetsFilter when http_options are set, and none whe
cluster/kube/gateway/nginx_gateway_test.go:145
FunctionTestBuildRouteExtensionsSnippetsFilter
TestBuildRouteExtensionsSnippetsFilter asserts BuildRouteExtensions emits a SnippetsFilter named after the route carrying the snippet at the location
cluster/kube/gateway/nginx_gateway_test.go:120
FunctionTestBuildSidecarPatch_CPUOnly
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:162
FunctionTestBuildSidecarPatch_EmptyImage
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:186
FunctionTestBuildSidecarPatch_GPU
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:124
FunctionTestCPUArchMatches
(t *testing.T)
cluster/types/v1beta3/clients/inventory/cpu_arch_test.go:79
FunctionTestCertificatesStorage_MoveToArchive
(t *testing.T)
tools/certissuer/storage_test.go:20
FunctionTestCertificatesStorage_MoveToArchive_ambiguousDomain
(t *testing.T)
tools/certissuer/storage_test.go:98
FunctionTestCertificatesStorage_MoveToArchive_noFileRelatedToDomain
(t *testing.T)
tools/certissuer/storage_test.go:60
FunctionTestCheckLeaseActiveArmsReclaimDeadline
TestCheckLeaseActiveArmsReclaimDeadline covers the restart path: a lease already reclaiming when the provider comes back still owns running workloads,
cluster/manager_reclaim_test.go:236
FunctionTestCleanupRBACWhenPermissionsRemoved
(t *testing.T)
cluster/kube/cleanup_test.go:164
FunctionTestCleanupStaleRBACResources
(t *testing.T)
cluster/kube/cleanup_test.go:19
FunctionTestCleanupStaleRBACResourcesDoesNotDeleteNonAkashResources
(t *testing.T)
cluster/kube/cleanup_test.go:117
FunctionTestCleanupStaleResourcesIntegration
(t *testing.T)
cluster/kube/cleanup_test.go:232
FunctionTestClientExec
(t *testing.T)
cluster/kube/client_exec_test.go:174
FunctionTestClientExecPodFailed
(t *testing.T)
cluster/kube/client_exec_test.go:282
FunctionTestClientExecPodNotReady
(t *testing.T)
cluster/kube/client_exec_test.go:305
FunctionTestClientExecPodNotRunning
(t *testing.T)
cluster/kube/client_exec_test.go:259
FunctionTestClientExecTty
(t *testing.T)
cluster/kube/client_exec_test.go:197
FunctionTestClientExecWrongPodIndex
(t *testing.T)
cluster/kube/client_exec_test.go:240
FunctionTestClientExecWrongServiceName
(t *testing.T)
cluster/kube/client_exec_test.go:221
FunctionTestClientObserveHostnameState_CancelReleasesBlockedProducer
Cancelling the observation must release a producer whose consumer stopped reading, and stop its watch.
cluster/kube/client_hostname_connections_test.go:193
FunctionTestClientObserveHostnameState_SkipsUnconvertibleProviderHosts
A resource whose lease ID cannot be built must be skipped rather than emitted without a type.
cluster/kube/client_hostname_connections_test.go:152
FunctionTestClientObserveHostnameState_WatchErrorEndsStream
A watch error event carries a *metav1.Status, not a ProviderHost. It must end the stream instead of panicking on the type assertion.
cluster/kube/client_hostname_connections_test.go:220
FunctionTestClusterErrorToHTTP
(t *testing.T)
gateway/rest/cluster_errors_test.go:16
FunctionTestConfigClusterStorage
(t *testing.T)
operator/inventory/config_test.go:33
FunctionTestConfigClusterStorageAvailable
(t *testing.T)
operator/inventory/config_test.go:195
FunctionTestConfigClusterStorageExclude
(t *testing.T)
operator/inventory/config_test.go:70
FunctionTestConfigClusterStorageExclude2
(t *testing.T)
operator/inventory/config_test.go:109
FunctionTestConfigClusterStorageNotListed
(t *testing.T)
operator/inventory/config_test.go:148
FunctionTestConfigEmpty
(t *testing.T)
operator/inventory/config_test.go:10
FunctionTestConfigEnv
(t *testing.T)
tools/logging/config_test.go:107
FunctionTestConfigExcludeNode
(t *testing.T)
operator/inventory/config_test.go:168
FunctionTestConfigFromEnvDefaults
(t *testing.T)
sidecar/attestation/internal/logging/logging_test.go:30
FunctionTestConfigFromEnvInvalid
(t *testing.T)
sidecar/attestation/internal/logging/logging_test.go:66
FunctionTestConfigFromEnvValues
(t *testing.T)
sidecar/attestation/internal/logging/logging_test.go:43
FunctionTestConfigFromViper
(t *testing.T)
tools/logging/config_test.go:117
FunctionTestCreateOrUpdateHTTPRouteAppliesFilterBeforeReference
TestCreateOrUpdateHTTPRouteAppliesFilterBeforeReference asserts a new route ends up referencing a SnippetsFilter that actually exists and is owned by
cluster/kube/gateway/httproute_test.go:113
FunctionTestCreateOrUpdateHTTPRouteDoesNotDangleOnExtensionFailure
TestCreateOrUpdateHTTPRouteDoesNotDangleOnExtensionFailure asserts that when the SnippetsFilter cannot be applied, an existing route is not updated to
cluster/kube/gateway/httproute_test.go:137
FunctionTestCreateOrUpdateHTTPRouteNewRoutePlaceholderNotRoutable
TestCreateOrUpdateHTTPRouteNewRoutePlaceholderNotRoutable asserts that when the SnippetsFilter cannot be applied for a brand-new route, the placeholde
cluster/kube/gateway/httproute_test.go:189
MethodTestDedicatedStorageClass
()
integration/persistentstorage_test.go:151
FunctionTestDefaultErrorHandler
(t *testing.T)
gateway/rest/auth_test.go:38
MethodTestDefaultStorageClass
()
integration/customcurrency_test.go:31
MethodTestDefaultStorageClass
()
integration/persistentstorage_test.go:37
FunctionTestDefaultTimestampIsSubSecond
Entries logged within the same second must stay ordered by their time field.
tools/logging/logger_test.go:41
FunctionTestDefaultsConformance
(t *testing.T)
tools/logging/conformance_test.go:98
FunctionTestDefaultsConformance
(t *testing.T)
sidecar/attestation/internal/logging/conformance_test.go:122
FunctionTestDeploy
(t *testing.T)
cluster/kube/deploy_test.go:27
FunctionTestDeployConnectsRoCENetworksToWorkloads
Exercise Deploy itself: independently testing NAD lookup and podAnnotations misses a broken connection between those helpers and the submitted workloa
cluster/kube/roce_networks_test.go:125
FunctionTestDeployFailureLogsError
(t *testing.T)
cluster/kube/client_log_test.go:23
FunctionTestDeploySetsEnvironmentVariables
(t *testing.T)
cluster/kube/builder/deployment_test.go:53
FunctionTestDeploymentManagerCleansUpClosedLeaseOnRecovery
(t *testing.T)
cluster/manager_recovery_test.go:27
FunctionTestDeploymentManagerDoesNotTreatMissingLeaseAsClosed
(t *testing.T)
cluster/manager_recovery_test.go:101
FunctionTestDeploymentManagerLeaseState
(t *testing.T)
cluster/manager_recovery_test.go:117
FunctionTestDeploymentManagerRetriesFailedTeardown
(t *testing.T)
cluster/manager_recovery_test.go:31
FunctionTestDeploymentNeedsRoCENetworks
(t *testing.T)
cluster/kube/roce_networks_test.go:44
← previousnext →2,601–2,700 of 3,441, ranked by callers