Skip to content

Commit 5612e78

Browse files
committed
tests correction
1 parent 7c7955e commit 5612e78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/persistence/write.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ fn test_persist() {
1515

1616
runtime.block_on(async {
1717
let table = get_test_wt();
18+
table.wait_for_ops().await;
1819
table.persist().unwrap();
1920

2021
assert!(check_if_dirs_are_same(
@@ -37,6 +38,7 @@ fn test_persist_without_secondary_indexes() {
3738

3839
runtime.block_on(async {
3940
let table = get_test_wt_without_secondary_indexes();
41+
table.wait_for_ops().await;
4042
table.persist().unwrap();
4143

4244
assert!(check_if_dirs_are_same(

0 commit comments

Comments
 (0)