fix: skip unconfigured S3 in packed restore test

Signed-off-by: jeremyhi <fengjiachun@gmail.com>
This commit is contained in:
jeremyhi
2026-09-19 22:10:48 +08:00
parent 1fc9dcf9bf
commit ee8a6390fa
@@ -903,7 +903,9 @@ async fn packed_copy_standalone_heterogeneous_streams() {
*expected
);
}
if let Ok(bucket) = std::env::var("GT_S3_BUCKET") {
if let Ok(bucket) = std::env::var("GT_S3_BUCKET")
&& !bucket.is_empty()
{
let prefix = format!(
"packed-reader/{}/",
destination.path().file_name().unwrap().to_str().unwrap()