mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
modify a few btree log level and add end_write_txn after checkpoint
This commit is contained in:
@@ -154,7 +154,7 @@ fn test_sequential_overflow_page() -> anyhow::Result<()> {
|
||||
}
|
||||
|
||||
#[ignore]
|
||||
#[test]
|
||||
#[test_log::test]
|
||||
fn test_sequential_write() -> anyhow::Result<()> {
|
||||
let _ = env_logger::try_init();
|
||||
|
||||
@@ -164,7 +164,7 @@ fn test_sequential_write() -> anyhow::Result<()> {
|
||||
let list_query = "SELECT * FROM test";
|
||||
let max_iterations = 10000;
|
||||
for i in 0..max_iterations {
|
||||
debug!("inserting {} ", i);
|
||||
println!("inserting {} ", i);
|
||||
if (i % 100) == 0 {
|
||||
let progress = (i as f64 / max_iterations as f64) * 100.0;
|
||||
println!("progress {:.1}%", progress);
|
||||
|
||||
Reference in New Issue
Block a user