Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/src/unit-capi-array.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "test/support/src/helpers.h"
#include "test/support/src/serialization_wrappers.h"
#include "test/support/src/vfs_helpers.h"
#include "tiledb/api/c_api/vfs/vfs_api_internal.h"
#ifdef _WIN32
#include "tiledb/sm/filesystem/win.h"
#else
Expand Down Expand Up @@ -85,6 +86,9 @@ struct ArrayFx {
// The memory tracker
shared_ptr<tiledb::sm::MemoryTracker> memory_tracker_;

// TODO: Update ArrayFx to use VFSTestSetup.
VFSTestSetup vfs_test_setup_;

// TileDB context
tiledb_ctx_t* ctx_;
tiledb_vfs_t* vfs_;
Expand Down Expand Up @@ -901,6 +905,7 @@ TEST_CASE_METHOD(
create_temp_dir(temp_dir);

create_dense_vector(array_name);
array_path = vfs_test_setup_.get_backend_uri(array_name);

// ---- FIRST WRITE ----
// Prepare cell buffers
Expand Down Expand Up @@ -1934,6 +1939,7 @@ TEST_CASE_METHOD(
create_temp_dir(temp_dir);

create_dense_vector(array_name);
array_path = vfs_test_setup_.get_backend_uri(array_name);

// Conditionally consolidate
// Note: there's no need to vacuum; delete_array will delete all fragments
Expand Down
Loading
Loading