Closed
Description
Apache Iceberg version
main (development)
Please describe the bug 🐞
Integration tests feel significantly slower than before.
make test-integration
Running on the latest main branch took 266 seconds
, which is more than 4 minutes
/usr/bin/time make test-integration
=============================================================== 765 passed, 4 skipped, 2415 deselected, 24 warnings in 217.18s (0:03:37) ================================================================
265.95 real 17.03 user 7.11 sys
Compare this to pyiceberg-0.6.0rc6
tag, integration tests only took 100 seconds
.
git checkout pyiceberg-0.6.0rc6
/usr/bin/time make test-integration
============================================================== 508 passed, 4 skipped, 2305 deselected in 48.61s ==============================================================
99.89 real 9.43 user 4.16 sys
Here are the top 10 slowest tests:
PYTEST_ARGS="--durations=10" make test-integration
============================================================================ slowest 10 durations ============================================================================
5.93s call tests/integration/test_add_files.py::test_add_files_to_unpartitioned_table[1]
3.52s call tests/integration/test_reads.py::test_ray_nan[catalog_hive]
3.12s setup tests/integration/test_add_files.py::test_add_files_to_unpartitioned_table[1]
2.66s call tests/integration/test_writes/test_partitioned_writes.py::test_query_filter_null_partitioned[1-int]
2.62s call tests/integration/test_writes/test_partitioned_writes.py::test_query_filter_v1_v2_append_null[int]
2.46s call tests/integration/test_writes/test_partitioned_writes.py::test_query_filter_appended_null_partitioned[2-binary]
2.35s call tests/integration/test_writes/test_partitioned_writes.py::test_query_filter_null_partitioned[1-float]
2.26s call tests/integration/test_writes/test_partitioned_writes.py::test_query_filter_v1_v2_append_null[bool]
2.21s call tests/integration/test_writes/test_partitioned_writes.py::test_query_filter_null_partitioned[1-long]
2.21s call tests/integration/test_reads.py::test_table_properties_dict[catalog_hive]