diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2023-11-06 10:01:23 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2023-11-06 10:20:03 -0500 |
| commit | 4e4cf858122ca6c1ae6d5f635e839089769fee38 (patch) | |
| tree | af2baf54991e8aca6766671c5701fbfd6dffed7d /tests/dynamic_extension_tests.inc | |
| parent | 83ca486048a5053d8c75bb5041091edb1b183a85 (diff) | |
| download | dynamic-extension-4e4cf858122ca6c1ae6d5f635e839089769fee38.tar.gz | |
Scheduling: Switched over to a thread pool model
Diffstat (limited to 'tests/dynamic_extension_tests.inc')
| -rw-r--r-- | tests/dynamic_extension_tests.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dynamic_extension_tests.inc b/tests/dynamic_extension_tests.inc index 2f82e92..df88d98 100644 --- a/tests/dynamic_extension_tests.inc +++ b/tests/dynamic_extension_tests.inc @@ -77,6 +77,8 @@ START_TEST(t_insert_with_mem_merges) val++; } + ext_wirs->await_next_epoch(); + ck_assert_int_eq(ext_wirs->get_record_count(), 300); ck_assert_int_eq(ext_wirs->get_height(), 1); @@ -197,6 +199,9 @@ START_TEST(t_range_sample_weighted) WRec r = {keys[i], (uint32_t) i, weight}; ext_wirs->insert(r); } + + ext_wirs->await_next_epoch(); + size_t k = 1000; uint64_t lower_key = 0; uint64_t upper_key = 5; @@ -277,6 +282,8 @@ START_TEST(t_tombstone_merging_01) ck_assert(ext_wirs->validate_tombstone_proportion()); } + ext_wirs->await_next_epoch(); + ck_assert(ext_wirs->validate_tombstone_proportion()); gsl_rng_free(rng); |