moor
moor copied to clipboard
Sleep in "worldstate_restore" test should not be necessary.
code smell.
https://github.com/rdaum/moor/blob/47435a1442a1f5532c23944029e90982baa99bff/crates/db/tests/worldstate_restore.rs#L87
tx.commit().unwrap();
db.shutdown();
// TODO: Sleep in "worldstate_restore" test should not be necessary.
// code smell.
std::thread::sleep(Duration::from_millis(100));
a