Skip to content

Commit 05dc8eb

Browse files
authored
fix: update flux test increasing times (#2051)
1 parent 1d4a619 commit 05dc8eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

agent-control/tests/k8s/flux_self_update.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ cd_chart_version: {CHART_VERSION_UPSTREAM_2}
111111
),
112112
);
113113

114-
retry(120, Duration::from_secs(1), || {
114+
retry(90, Duration::from_secs(1), || {
115115
check_latest_remote_config_status_is_expected(
116116
&opamp_server,
117117
&ac_instance_id,
@@ -195,7 +195,7 @@ cd_chart_version: {MISSING_VERSION}
195195
),
196196
);
197197

198-
retry(60, Duration::from_secs(1), || {
198+
retry(90, Duration::from_secs(1), || {
199199
check_latest_remote_config_status_is_expected(
200200
&opamp_server,
201201
&ac_instance_id,
@@ -258,10 +258,10 @@ fn expected_identifying_attributes(
258258

259259
fn create_flux_resources(namespace: &str, chart_version: &str) {
260260
let mut cmd = assert_cmd::cargo_bin_cmd!("newrelic-agent-control-k8s-cli");
261-
cmd.timeout(Duration::from_secs(60));
261+
cmd.timeout(Duration::from_secs(100));
262262
cmd.arg("create-cd-resources");
263-
cmd.arg("--installation-check-initial-delay").arg("1s");
264-
cmd.arg("--installation-check-timeout").arg("30s");
263+
cmd.arg("--installation-check-initial-delay").arg("10s");
264+
cmd.arg("--installation-check-timeout").arg("100s");
265265
cmd.arg("--log-level").arg("debug");
266266
cmd.arg("--repository-url").arg(LOCAL_CHART_REPOSITORY);
267267
cmd.arg("--chart-version").arg(chart_version);

0 commit comments

Comments
 (0)