Fix problems left in `concurrent_recursive_mkdir`
Increase lifetime of `tmpdir`, and really change the length of test path.
This commit is contained in:
parent
b5d590b3f0
commit
088696b98f
|
@ -2283,9 +2283,10 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn concurrent_recursive_mkdir() {
|
||||
for _ in 0..50 {
|
||||
let mut dir = tmpdir().join("a");
|
||||
for _ in 0..100 {
|
||||
for _ in 0..100 {
|
||||
let dir = tmpdir();
|
||||
let mut dir = dir.join("a");
|
||||
for _ in 0..40 {
|
||||
dir = dir.join("a");
|
||||
}
|
||||
let mut join = vec!();
|
||||
|
|
Loading…
Reference in New Issue