moor icon indicating copy to clipboard operation
moor copied to clipboard

Sleep in "worldstate_restore" test should not be necessary.

Open github-actions[bot] opened this issue 4 months ago • 0 comments

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

github-actions[bot] avatar Feb 10 '24 01:02 github-actions[bot]