mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
test
This commit is contained in:
@@ -2418,7 +2418,11 @@ mod test {
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_walk_dir() {
|
||||
let ep = Endpoint::try_from("/Users/weisd/project/weisd/s3-rustfs/target/volume/test").unwrap();
|
||||
let mut ep = Endpoint::try_from("/Users/weisd/project/weisd/s3-rustfs/target/volume/test").unwrap();
|
||||
ep.pool_idx = 0;
|
||||
ep.set_idx = 0;
|
||||
ep.disk_idx = 0;
|
||||
|
||||
let disk = match LocalDisk::new(&ep, false).await {
|
||||
Ok(res) => res,
|
||||
Err(err) => {
|
||||
|
||||
Reference in New Issue
Block a user