diff --git a/test/src/unit-vfs.cc b/test/src/unit-vfs.cc index 31ec50110cf8..434e35d907a3 100644 --- a/test/src/unit-vfs.cc +++ b/test/src/unit-vfs.cc @@ -445,7 +445,7 @@ TEMPLATE_LIST_TEST_CASE("VFS: File I/O", "[vfs][uri][file_io]", AllBackends) { // Getting file_size on a nonexistent blob shouldn't crash on Azure uint64_t nbytes = 0; URI non_existent = URI(path.to_string() + "non_existent"); - require_tiledb_ok(vfs.file_size(non_existent, &nbytes)); + CHECK(!vfs.file_size(non_existent, &nbytes).ok()); // Set up bool exists = false;