diff options
| -rw-r--r-- | src/test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test.rs b/src/test.rs index 09a1556..fee2e0f 100644 --- a/src/test.rs +++ b/src/test.rs @@ -211,6 +211,8 @@ mod core { #[test] fn test_91_auth_pass() { lock(&PathBuf::from("test/REPO_USER_ADDED"), 10); + // If process is too fast, this function may got Database locked error + sleep(Duration::from_millis(50)); let s = test_auth_post(); |
