summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/dynamic_extension_tests.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/dynamic_extension_tests.inc b/tests/dynamic_extension_tests.inc
index aa12e31..bcb5ae6 100644
--- a/tests/dynamic_extension_tests.inc
+++ b/tests/dynamic_extension_tests.inc
@@ -76,6 +76,8 @@ START_TEST(t_insert_with_mem_merges)
val++;
}
+ test_de->await_next_epoch();
+
ck_assert_int_eq(test_de->get_record_count(), 300);
ck_assert_int_eq(test_de->get_height(), 1);
@@ -174,6 +176,8 @@ START_TEST(t_range_query)
ck_assert_int_eq(test_de->insert(r), 1);
}
+ test_de->await_next_epoch();
+
std::sort(keys.begin(), keys.end());
auto idx = rand() % (keys.size() - 250);
@@ -245,6 +249,8 @@ START_TEST(t_tombstone_merging_01)
ck_assert(test_de->validate_tombstone_proportion());
}
+ test_de->await_next_epoch();
+
ck_assert(test_de->validate_tombstone_proportion());
gsl_rng_free(rng);