Skip to content

Commit

Permalink
fix(services/fs,hdfs): fix poll_close when retry
Browse files Browse the repository at this point in the history
  • Loading branch information
hoslo committed Feb 4, 2024
1 parent ea53221 commit 86583a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ jobs:
env:
OPENDAL_FS_ROOT: /tmp/test_dir
RUST_BACKTRACE: 1
RUST_LOG: debug
RUST_LOG: trace
2 changes: 1 addition & 1 deletion core/edge/file_close_with_retry_on_full_disk/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 86583a3

Please sign in to comment.