Skip to content

Commit

Permalink
[Data] Deflake test_batching_pyarrow_table_with_many_chunks (ray-pr…
Browse files Browse the repository at this point in the history
…oject#38246)

test_batching_pyarrow_table_with_many_chunks checks that it takes less than 20 seconds to batch a PyArrow table. Sometimes, it takes slightly longer than expected, so the test fails. This PR deflakes the test by increasing the threshold.

See https://buildkite.com/anyscale/runtime/builds/292#0189bbd2-a266-4e7d-bebd-240cd2f7a5bd.

Signed-off-by: Balaji Veeramani <balaji@anyscale.com>
Signed-off-by: harborn <gangsheng.wu@intel.com>
  • Loading branch information
bveeramani authored and harborn committed Aug 17, 2023
1 parent bc893b4 commit 8ad5b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/data/tests/test_batcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_batching_pyarrow_table_with_many_chunks():
while shuffling_batcher.has_any():
shuffling_batcher.next_batch()
duration = time.perf_counter() - start
assert duration < 20
assert duration < 30


@pytest.mark.parametrize(
Expand Down

0 comments on commit 8ad5b15

Please sign in to comment.