Skip to content

Commit 067f91e

Browse files
committed
[DFSM] Increase retry delay to wait for cluster config files
to be updated by the head node, from 10s to 15s. Signed-off-by: Giacomo Marciani <[email protected]>
1 parent 8de7952 commit 067f91e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbooks/aws-parallelcluster-platform/resources/fetch_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def wait_cluster_config_file(path)
180180
bash "Wait cluster config files to be updated by the head node" do
181181
code "[[ \"$(cat #{path})\" == \"#{node['cluster']['cluster_config_version']}\" ]] || exit 1"
182182
retries 30
183-
retry_delay 10
183+
retry_delay 15
184184
timeout 5
185185
end
186186
end

cookbooks/aws-parallelcluster-platform/spec/unit/resources/fetch_config_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
is_expected.to run_bash("Wait cluster config files to be updated by the head node").with(
150150
code: "[[ \"$(cat #{config_version_file})\" == \"cluster_config_version\" ]] || exit 1",
151151
retries: 30,
152-
retry_delay: 10,
152+
retry_delay: 15,
153153
timeout: 5
154154
)
155155
end

0 commit comments

Comments
 (0)