@@ -389,9 +389,8 @@ TEST_CASE_METHOD(
389389 ase2.drop_attribute (" attr1" );
390390 CHECK_NOTHROW (ase2.array_evolve (uri_));
391391 // Apply evolution to the array and reopen.
392- CHECK_NOTHROW (array.close ());
393- CHECK_NOTHROW (array.open (TILEDB_READ));
394- ArrayExperimental::load_all_enumerations (ctx_, array, true );
392+ CHECK_NOTHROW (array.reopen ());
393+ CHECK_NOTHROW (ArrayExperimental::load_all_enumerations (ctx_, array, true ));
395394 all_schemas = array.ptr ()->array ()->array_schemas_all ();
396395 schema = array.load_schema (ctx_, uri_);
397396 std::string schema_name_3 = schema.ptr ()->array_schema ()->name ();
@@ -426,9 +425,8 @@ TEST_CASE_METHOD(
426425 CHECK_NOTHROW (ase3.array_evolve (uri_));
427426
428427 // Apply evolution to the array and reopen.
429- CHECK_NOTHROW (array.close ());
430- CHECK_NOTHROW (array.open (TILEDB_READ));
431- ArrayExperimental::load_all_enumerations (ctx_, array, true );
428+ CHECK_NOTHROW (array.reopen ());
429+ CHECK_NOTHROW (ArrayExperimental::load_all_enumerations (ctx_, array, true ));
432430 all_schemas = array.ptr ()->array ()->array_schemas_all ();
433431 schema = array.load_schema (ctx_, uri_);
434432 std::string schema_name_4 = schema.ptr ()->array_schema ()->name ();
0 commit comments