mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
TestIcebergTable.test_show_files_partition is unstable because files are alphanumerically sorted and the order between a random UUID and "delete-*" is not guaranteed. This patch fix the flakiness by specifying VERIFY_IS_SUBSET and using negative lookahead of "delete" word to detect valid Iceberg data file. Testing: - Loop and pass test_show_files_partition 50 times. Before, it can fail in less than 10 loops. Change-Id: I6243585a5b7ab7cf7c95d5a9530ce2f2825c550e Reviewed-on: http://gerrit.cloudera.org:8080/23680 Reviewed-by: Michael Smith <michael.smith@cloudera.com> Tested-by: Michael Smith <michael.smith@cloudera.com>