mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: Refactor TransitionId tables, BlockBodyIndices table. (#2039)
This commit is contained in:
@ -233,12 +233,11 @@ fn test_concurrent_readers_single_writer() {
|
||||
|
||||
let txn = env.begin_rw_txn().unwrap();
|
||||
let db = txn.open_db(None).unwrap();
|
||||
println!("wait2");
|
||||
|
||||
barrier.wait();
|
||||
txn.put(&db, key, val, WriteFlags::empty()).unwrap();
|
||||
txn.commit().unwrap();
|
||||
|
||||
println!("wait1");
|
||||
barrier.wait();
|
||||
|
||||
assert!(threads.into_iter().all(|b| b.join().unwrap()))
|
||||
|
||||
Reference in New Issue
Block a user