Skip to content

Commit

Permalink
[dt] add retries to remote curl call
Browse files Browse the repository at this point in the history
  • Loading branch information
jackietung-redpanda committed May 9, 2024
1 parent 1acaf9d commit f236b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rptest/services/redpanda_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def _async_download_on_node_unlocked(self, node, version):
version_root = self.root_for_version(version)

tgz = "redpanda.tar.gz"
cmd = f"curl -fsSL {self._version_package_url(version)} --create-dir -o {version_root}/{tgz} && gunzip -c {version_root}/{tgz} | tar -xf - -C {version_root} && rm {version_root}/{tgz}"
cmd = f"curl -fsSL {self._version_package_url(version)} --retry 3 --retry-connrefused --retry-delay 2 --create-dir -o {version_root}/{tgz} && gunzip -c {version_root}/{tgz} | tar -xf - -C {version_root} && rm {version_root}/{tgz}"
return node.account.ssh_capture(cmd)

def reset_current_install(self, nodes):
Expand Down

0 comments on commit f236b11

Please sign in to comment.