From 46db10420011117f4250d014038be7362d352a3e Mon Sep 17 00:00:00 2001 From: Ara Pulido Date: Thu, 7 Nov 2024 21:48:42 +0000 Subject: [PATCH 1/2] Disable autogenerating DatadogMetric for each HPA Signed-off-by: Ara Pulido --- tests/sequential/datadog_dca/datadog_dca_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sequential/datadog_dca/datadog_dca_test.go b/tests/sequential/datadog_dca/datadog_dca_test.go index 488b6ebc7b4..fd7a41471ab 100644 --- a/tests/sequential/datadog_dca/datadog_dca_test.go +++ b/tests/sequential/datadog_dca/datadog_dca_test.go @@ -393,7 +393,7 @@ func installDatadog(t *testing.T) { assert.NoErrorf(t, err, "cannot execute command - %s", err) _, err = ExecuteCommand("helm repo update") assert.NoErrorf(t, err, "cannot execute command - %s", err) - _, err = ExecuteCommand(fmt.Sprintf(`helm upgrade --install --set datadog.apiKey=%s --set datadog.appKey=%s --set datadog.site=%s --set datadog.clusterName=%s --set datadog.kubelet.tlsVerify=false --set clusterAgent.metricsProvider.enabled=true --set clusterAgent.metricsProvider.registerAPIService=false --set clusterAgent.metricsProvider.useDatadogMetrics=true --namespace %s --wait %s datadog/datadog`, + _, err = ExecuteCommand(fmt.Sprintf(`helm upgrade --install --set datadog.apiKey=%s --set datadog.appKey=%s --set datadog.site=%s --set datadog.clusterName=%s --set datadog.kubelet.tlsVerify=false --set clusterAgent.metricsProvider.enabled=true --set clusterAgent.metricsProvider.registerAPIService=false --set clusterAgent.metricsProvider.useDatadogMetrics=true --set clusterAgent.envDict.DD_EXTERNAL_METRICS_PROVIDER_ENABLE_DATADOGMETRIC_AUTOGEN=false --namespace %s --wait %s datadog/datadog`, datadogAPIKey, datadogAppKey, datadogSite, From 8638813b7b74b3fe56a5e7efd1cf09ec68f09e6c Mon Sep 17 00:00:00 2001 From: Ara Pulido Date: Fri, 8 Nov 2024 08:47:54 +0000 Subject: [PATCH 2/2] Move datadog DCA tests back to scalers folder Signed-off-by: Ara Pulido --- .../datadog}/datadog_dca/datadog_dca_test.go | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/{sequential => scalers/datadog}/datadog_dca/datadog_dca_test.go (100%) diff --git a/tests/sequential/datadog_dca/datadog_dca_test.go b/tests/scalers/datadog/datadog_dca/datadog_dca_test.go similarity index 100% rename from tests/sequential/datadog_dca/datadog_dca_test.go rename to tests/scalers/datadog/datadog_dca/datadog_dca_test.go