Skip to content

Commit 580259f

Browse files
committed
Make the test run 100x
1 parent dc1fa56 commit 580259f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/store/fs.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,10 +1984,13 @@ pub mod tests {
19841984
#[tokio::test]
19851985
async fn test_batch_fs() -> TestResult<()> {
19861986
tracing_subscriber::fmt::try_init().ok();
1987-
let testdir = tempfile::tempdir()?;
1988-
let db_dir = testdir.path().join("db");
1989-
let store = FsStore::load(db_dir).await?;
1990-
test_batch(&store).await
1987+
for _i in 0..100 {
1988+
let testdir = tempfile::tempdir()?;
1989+
let db_dir = testdir.path().join("db");
1990+
let store = FsStore::load(db_dir).await?;
1991+
test_batch(&store).await?;
1992+
}
1993+
Ok(())
19911994
}
19921995

19931996
#[tokio::test]

0 commit comments

Comments
 (0)