mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-31 13:54:27 +01:00
ignore busy errors for test_concurrent_unique_constraint_regression
This commit is contained in:
@@ -402,7 +402,8 @@ async fn test_concurrent_unique_constraint_regression() {
|
||||
match result {
|
||||
Ok(_) => (),
|
||||
Err(Error::SqlExecutionFailure(e))
|
||||
if e.contains("UNIQUE constraint failed") => {}
|
||||
if e.contains("UNIQUE constraint failed")
|
||||
| e.contains("database is locked") => {}
|
||||
Err(e) => {
|
||||
panic!("Error executing statement: {e:?}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user