diff --git a/.github/workflows/test_edge.yml b/.github/workflows/test_edge.yml index 6056d768a841..ae0ddac30d73 100644 --- a/.github/workflows/test_edge.yml +++ b/.github/workflows/test_edge.yml @@ -164,3 +164,4 @@ jobs: env: OPENDAL_FS_ROOT: /tmp/test_dir RUST_BACKTRACE: 1 + RUST_LOG: debug diff --git a/core/Cargo.lock b/core/Cargo.lock index fbaaf3f2a8a9..e087911ad03e 100644 --- a/core/Cargo.lock +++ b/core/Cargo.lock @@ -2003,6 +2003,16 @@ dependencies = [ "signature 1.6.4", ] +[[package]] +name = "edge_file_close_with_retry_on_full_disk" +version = "0.0.0" +dependencies = [ + "futures", + "opendal", + "rand 0.8.5", + "tokio", +] + [[package]] name = "edge_test_aws_s3_assume_role_with_web_identity" version = "0.0.0" diff --git a/core/edge/file_close_with_retry_on_full_disk/src/main.rs b/core/edge/file_close_with_retry_on_full_disk/src/main.rs index abadfab1bc73..c29d9ae88902 100644 --- a/core/edge/file_close_with_retry_on_full_disk/src/main.rs +++ b/core/edge/file_close_with_retry_on_full_disk/src/main.rs @@ -17,6 +17,7 @@ use std::env; +use opendal::layers::LoggingLayer; use opendal::layers::RetryLayer; use opendal::services::Fs; use opendal::Operator; @@ -29,6 +30,7 @@ async fn main() -> Result<()> { builder.root(&env::var("OPENDAL_FS_ROOT").expect("root must be set for this test")); let op = Operator::new(builder)? .layer(RetryLayer::new().with_max_times(3)) + .layer(LoggingLayer::default()) .finish(); let size = thread_rng().gen_range(512 * 1024 + 1..4 * 1024 * 1024);