kevinjqliu commented on issue #604: URL: https://github.com/apache/iceberg-python/issues/604#issuecomment-2068146191
Making all the tests run in parallel requires lots and lots of changes. For the short term, the best way forward is to look at individual tests. `pytest`'s `--duration` shows parameterized tests as separate tests. I wrote a script to roll up the parameterized tests Here are the top 10 tests by duration, group by test name for parameterized tests ``` tests/integration/test_writes/test_partitioned_writes.py:test_query_filter_appended_null_partitioned, 22 tests, took 47.68 tests/integration/test_writes/test_partitioned_writes.py:test_query_filter_null_partitioned, 22 tests, took 39.73 tests/integration/test_writes/test_partitioned_writes.py:test_query_filter_only_nulls_partitioned, 22 tests, took 29.37 tests/integration/test_writes/test_partitioned_writes.py:test_query_filter_v1_v2_append_null, 11 tests, took 22.38 tests/integration/test_writes/test_partitioned_writes.py:test_query_filter_without_data_partitioned, 22 tests, took 17.06 tests/integration/test_add_files.py:test_add_files_to_unpartitioned_table, 3 tests, took 13.00 tests/integration/test_partitioning_key.py:test_partition_key, 28 tests, took 6.25 tests/integration/test_rest_schema.py:test_disallowed_updates, 337 tests, took 5.88 tests/integration/test_reads.py:test_ray_nan, 2 tests, took 3.88 tests/integration/test_writes/test_writes.py:test_query_filter_appended_null, 24 tests, took 3.66 ``` Top 5 tests are all from `test_partitioned_writes.py`, totaling 156.22 seconds (2.6 minutes) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
