3636namespace arrow {
3737
3838using FixedShapeTensorType = extension::FixedShapeTensorType;
39+ using arrow::ipc::test::RoundtripBatch;
3940using extension::fixed_shape_tensor;
4041using extension::FixedShapeTensorArray;
4142
@@ -807,7 +808,7 @@ TEST_F(TestVariableShapeTensorType, RoudtripBatch) {
807808 std::shared_ptr<RecordBatch> read_batch;
808809 auto ext_field = field (/* name=*/ " f0" , /* type=*/ ext_type_);
809810 auto batch = RecordBatch::Make (schema ({ext_field}), ext_arr_->length (), {ext_arr_});
810- RoundtripBatch (batch, &read_batch);
811+ ASSERT_OK ( RoundtripBatch (batch, &read_batch) );
811812 CompareBatch (*batch, *read_batch, /* compare_metadata=*/ true );
812813
813814 // Pass extension metadata and storage array, expect getting back extension array
@@ -818,7 +819,7 @@ TEST_F(TestVariableShapeTensorType, RoudtripBatch) {
818819 ext_field = field (/* name=*/ " f0" , /* type=*/ ext_type_->storage_type (), /* nullable=*/ true ,
819820 /* metadata=*/ ext_metadata);
820821 auto batch2 = RecordBatch::Make (schema ({ext_field}), ext_arr_->length (), {ext_arr_});
821- RoundtripBatch (batch2, &read_batch2);
822+ ASSERT_OK ( RoundtripBatch (batch2, &read_batch2) );
822823 CompareBatch (*batch, *read_batch2, /* compare_metadata=*/ true );
823824}
824825
0 commit comments