fix: limit db pool to 1 in tests
This commit is contained in:
parent
50bd3db7b3
commit
a3d17179d6
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ pub mod tests {
|
|||
let mut db_url = Url::parse(&settings.database.url).unwrap();
|
||||
db_url.set_path(&GenerateRandomString.get_random(12));
|
||||
settings.database.url = db_url.to_string();
|
||||
settings.database.pool = 1;
|
||||
|
||||
settings
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue