ariel-miculas commented on PR #9605:
URL: https://github.com/apache/arrow-rs/pull/9605#issuecomment-4177518905
These tests fail on main:
```
$ cargo test -p arrow-avro --lib
test_nullable_reader_schema_vs_plain_writer_nested_struct
Compiling arrow-avro v58.1.0 (/Users/amiculas/work/arrow-rs/arrow-avro)
Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s
Running unittests src/lib.rs
(target/debug/deps/arrow_avro-3c0d1f09f75a0c0a)
running 1 test
test reader::test::test_nullable_reader_schema_vs_plain_writer_nested_struct
... FAILED
failures:
---- reader::test::test_nullable_reader_schema_vs_plain_writer_nested_struct
stdout ----
thread
'reader::test::test_nullable_reader_schema_vs_plain_writer_nested_struct'
(11467926) panicked at arrow-avro/src/reader/mod.rs:9670:14:
reading should succeed: AvroError("Parser error: bad varint")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
reader::test::test_nullable_reader_schema_vs_plain_writer_nested_struct
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 392 filtered
out; finished in 0.01s
error: test failed, to rerun pass `-p arrow-avro --lib`
~/work/arrow-rs main* ⇡
$ cargo test -p arrow-avro --lib
test_skip_array_of_structs_uses_writer_schema_not_resolved
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
Running unittests src/lib.rs
(target/debug/deps/arrow_avro-3c0d1f09f75a0c0a)
running 1 test
test
reader::test::test_skip_array_of_structs_uses_writer_schema_not_resolved ...
FAILED
failures:
----
reader::test::test_skip_array_of_structs_uses_writer_schema_not_resolved stdout
----
thread
'reader::test::test_skip_array_of_structs_uses_writer_schema_not_resolved'
(11468665) panicked at arrow-avro/src/reader/mod.rs:9793:14:
Skipper must consume all events bytes using writer field types:
AvroError("Parser error: bad varint")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
reader::test::test_skip_array_of_structs_uses_writer_schema_not_resolved
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 392 filtered
out; finished in 0.00s
error: test failed, to rerun pass `-p arrow-avro --lib`
~/work/arrow-rs main* ⇡
$ cargo test -p arrow-avro --lib
test_skipper_consumes_writer_only_struct_fields
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
Running unittests src/lib.rs
(target/debug/deps/arrow_avro-3c0d1f09f75a0c0a)
running 1 test
test reader::test::test_skipper_consumes_writer_only_struct_fields has been
running for over 60 seconds
^C
```
with the last one stuck in an infinite loop
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]