From 86583a3c13dbe088b76f09570643aaa04bd0285c Mon Sep 17 00:00:00 2001 From: hoslo Date: Sun, 4 Feb 2024 13:44:24 +0800 Subject: [PATCH] fix(services/fs,hdfs): fix poll_close when retry --- .github/workflows/test_edge.yml | 2 +- core/edge/file_close_with_retry_on_full_disk/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_edge.yml b/.github/workflows/test_edge.yml index ae0ddac30d73..673d2c9c0e1f 100644 --- a/.github/workflows/test_edge.yml +++ b/.github/workflows/test_edge.yml @@ -164,4 +164,4 @@ jobs: env: OPENDAL_FS_ROOT: /tmp/test_dir RUST_BACKTRACE: 1 - RUST_LOG: debug + RUST_LOG: trace 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 bb14636865dd..d23fec56c856 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 @@ -31,8 +31,8 @@ async fn main() -> Result<()> { let mut builder = Fs::default(); 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()) + .layer(RetryLayer::new().with_max_times(3)) .finish(); let size = thread_rng().gen_range(512 * 1024 + 1..4 * 1024 * 1024);