Skip to content

Commit

Permalink
chore: revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed May 10, 2024
1 parent 61208c6 commit 36660c1
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/mito2/src/sst/index/creator/temp_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,14 @@ mod tests {
reader.read_to_end(&mut buf).await.unwrap();
assert_eq!(buf, b"foo");

// OpenDAL might return the following error: The directory is not empty.
let _ = provider.cleanup().await;

// provider.cleanup().await.unwrap();

// assert!(provider
// .manager
// .store()
// .list(location.dir_to_cleanup())
// .await
// .unwrap()
// .is_empty());
provider.cleanup().await.unwrap();

assert!(provider
.manager
.store()
.list(location.dir_to_cleanup())
.await
.unwrap()
.is_empty());
}
}

0 comments on commit 36660c1

Please sign in to comment.