feat: default scale down flag (#963)

Resolves #899

Co-authored-by: Callum <[email protected]>
Co-authored-by: Yusuke Kuoka <[email protected]>
This commit is contained in:
Callum Tait
2022-04-20 11:09:09 +09:00
committed by GitHub
co-authored by Callum Yusuke Kuoka
parent 13bfa2da4e
commit 24aae58dbc
3 changed files with 25 additions and 19 deletions
+8 -6
View File
@@ -191,9 +191,10 @@ func TestDetermineDesiredReplicas_RepositoryRunner(t *testing.T) {
client := newGithubClient(server)
h := &HorizontalRunnerAutoscalerReconciler{
Log: log,
GitHubClient: client,
Scheme: scheme,
Log: log,
GitHubClient: client,
Scheme: scheme,
DefaultScaleDownDelay: DefaultScaleDownDelay,
}
rd := v1alpha1.RunnerDeployment{
@@ -441,9 +442,10 @@ func TestDetermineDesiredReplicas_OrganizationalRunner(t *testing.T) {
client := newGithubClient(server)
h := &HorizontalRunnerAutoscalerReconciler{
Log: log,
Scheme: scheme,
GitHubClient: client,
Log: log,
Scheme: scheme,
GitHubClient: client,
DefaultScaleDownDelay: DefaultScaleDownDelay,
}
rd := v1alpha1.RunnerDeployment{