diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2023-10-20 17:00:42 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2023-10-20 17:00:42 -0400 |
| commit | 7ecfb22c32b7986ed1a2439c1abbeed298e4153a (patch) | |
| tree | d7207b5755ce987068620b71f9b4af9a52982c0d /tests | |
| parent | 1a47cbd7978dcad7ed0b2f2af3f933137eedbfa3 (diff) | |
| download | dynamic-extension-7ecfb22c32b7986ed1a2439c1abbeed298e4153a.tar.gz | |
Initial pass w/ new scheduler setup
currently there's a race condition of some type to sort out.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dynamic_extension_tests.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/dynamic_extension_tests.inc b/tests/dynamic_extension_tests.inc index bee28f7..2f82e92 100644 --- a/tests/dynamic_extension_tests.inc +++ b/tests/dynamic_extension_tests.inc @@ -213,10 +213,11 @@ START_TEST(t_range_sample_weighted) for (size_t i=0; i<1000; i++) { auto result = ext_wirs->query(&p); - total_samples += result.size(); + auto r = result.get(); + total_samples += r.size(); - for (size_t j=0; j<result.size(); j++) { - cnt[result[j].key - 1]++; + for (size_t j=0; j<r.size(); j++) { + cnt[r[j].key - 1]++; } } |