Skip to content

Commit

Permalink
Fix data test failure (ray-project#36397)
Browse files Browse the repository at this point in the history
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
  • Loading branch information
aslonnie authored and arvind-chandra committed Aug 31, 2023
1 parent 7c63942 commit 2e215dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/ray/data/tests/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,9 +852,9 @@ def test_parquet_write_create_dir(
assert not os.path.isdir(all_empty_path)
assert os.path.isdir(some_empty_path)
# Only files for the non-empty blocks should be created.
assert os.listdir(some_empty_path) == [
f"{some_empty_key}_00000{i}.parquet" for i in range(2)
]
file_list = os.listdir(some_empty_path)
file_list.sort()
assert file_list == [f"{some_empty_key}_00000{i}.parquet" for i in range(2)]
else:
assert (
fs.get_file_info(_unwrap_protocol(all_empty_path)).type
Expand Down

0 comments on commit 2e215dc

Please sign in to comment.