Skip to content

Commit

Permalink
CA: implement DRA integration tests for StaticAutoscaler
Browse files Browse the repository at this point in the history
  • Loading branch information
towca committed Nov 29, 2024
1 parent 78d4415 commit 33afea0
Show file tree
Hide file tree
Showing 5 changed files with 878 additions and 41 deletions.
5 changes: 5 additions & 0 deletions cluster-autoscaler/cloudprovider/test/test_cloud_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@ func (tcp *TestCloudProvider) SetResourceLimiter(resourceLimiter *cloudprovider.
tcp.resourceLimiter = resourceLimiter
}

// SetMachineTemplates sets template NodeInfos per-machine-type.
func (tcp *TestCloudProvider) SetMachineTemplates(machineTemplates map[string]*framework.NodeInfo) {
tcp.machineTemplates = machineTemplates
}

// Cleanup this is a function to close resources associated with the cloud provider
func (tcp *TestCloudProvider) Cleanup() error {
return nil
Expand Down
Loading

0 comments on commit 33afea0

Please sign in to comment.