Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ede0d2c

Browse files
committedNov 14, 2024··
Fix windows tests
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
1 parent b8090cf commit ede0d2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/test_workflow/smoke_test/smoke_test_cluster_opensearch.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ def __init__(
5050
def download_or_copy_bundle(self, work_dir: str) -> str:
5151
extension = "tar.gz" if self.dist == "tar" else self.dist
5252
artifact_name = f"{self.product}-{self.version}-{self.platform}-{self.arch}.{extension}"
53-
src_path = os.path.join(self.path, "dist", f"{self.product}", f"{artifact_name}")
53+
src_path = '/'.join([self.path.rstrip("/"), "dist", f"{self.product}", f"{artifact_name}"]) \
54+
if self.path.startswith("https://") else os.path.join(self.path, "dist",
55+
f"{self.product}", f"{artifact_name}")
5456
dest_path = os.path.join(work_dir, artifact_name)
5557

5658
if src_path.startswith("https://"):

0 commit comments

Comments
 (0)
Please sign in to comment.