Use larger and more realistic database for testing

This commit is contained in:
Pekka Enberg 2024-06-29 10:02:19 +03:00
parent 4d8e0f1214
commit cc101b1b00
6 changed files with 41 additions and 5 deletions

View file

@ -14,7 +14,7 @@ fn main() {
let mut rng = ChaCha8Rng::seed_from_u64(seed);
let io = Rc::new(SimulatorIO::new().unwrap());
for _ in 0..100000 {
let db = match Database::open_file(io.clone(), "./testing/hello.db") {
let db = match Database::open_file(io.clone(), "./testing/testing.db") {
Ok(db) => db,
Err(_) => continue,
};