Skip to content

Commit

Permalink
chore: rm outdated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
discord9 committed Dec 9, 2024
1 parent 8bab385 commit 5dbed34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/runner/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ pub async fn pull_binary(version: &str) {
};
let triple = format!("greptime-{}-{}-{}", os, arch, version);
let filename = format!("{triple}.tar.gz");
// TODO: make it cross platform and aware of proxy

let url = format!(
"https://github.com/GreptimeTeam/greptimedb/releases/download/{version}/{filename}"
);
println!("Downloading {version} binary from {}", url);
// mkdir {version}

// mkdir {version}
std::fs::create_dir(version).unwrap();

let archive = Path::new(version).join(filename);
Expand Down Expand Up @@ -138,7 +138,7 @@ pub async fn pull_binary(version: &str) {

assert_eq!(
checksum, expected_checksum,
"Downloaded file is corrupted, checksum mismatched"
"Checksum mismatched, downloaded file is corrupted"
);

decompress(&archive.to_string_lossy(), &folder_path.to_string_lossy());
Expand Down

0 comments on commit 5dbed34

Please sign in to comment.