Skip to content

Commit

Permalink
Fix object libraries tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatia committed Feb 6, 2025
1 parent 25d2648 commit f9fac4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions tiledb/sm/filter/test/filter_test_support.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ shared_ptr<WriterTile> make_increasing_tile(
Datatype::UINT64,
cell_size,
tile_size,
tracker,
true);
tracker);
for (uint64_t i = 0; i < nelts; i++) {
CHECK_NOTHROW(tile->write(&i, i * sizeof(uint64_t), sizeof(uint64_t)));
}
Expand All @@ -179,8 +178,7 @@ shared_ptr<WriterTile> make_offsets_tile(
Datatype::UINT64,
constants::cell_var_offset_size,
offsets_tile_size,
tracker,
true);
tracker);

// Set up test data
for (uint64_t i = 0; i < offsets.size(); i++) {
Expand All @@ -206,8 +204,7 @@ Tile create_tile_for_unfiltering(
tile->filtered_buffer().data(),
tile->filtered_buffer().size(),
tracker,
ThreadPool::SharedTask(),
true};
std::nullopt};
}

void run_reverse(
Expand Down
9 changes: 3 additions & 6 deletions tiledb/sm/filter/test/tile_data_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ class TileDataGenerator {
datatype(),
cell_size(),
original_tile_size(),
memory_tracker,
true);
memory_tracker);
}

/**
Expand Down Expand Up @@ -101,8 +100,7 @@ class TileDataGenerator {
filtered_buffer.data(),
filtered_buffer.size(),
memory_tracker,
ThreadPool::SharedTask(),
true);
std::nullopt);
}

/** Returns the size of the original unfiltered data. */
Expand Down Expand Up @@ -190,8 +188,7 @@ class IncrementTileDataGenerator : public TileDataGenerator {
Datatype::UINT64,
constants::cell_var_offset_size,
offsets.size() * constants::cell_var_offset_size,
memory_tracker,
true);
memory_tracker);
for (uint64_t index = 0; index < offsets.size(); ++index) {
CHECK_NOTHROW(offsets_tile->write(
&offsets[index],
Expand Down

0 comments on commit f9fac4b

Please sign in to comment.