This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new a37c038c6 Fix generate random selection (#2656)
a37c038c6 is described below

commit a37c038c6a8076987c9e8f2a357e700d7edb4893
Author: Dan Harris <[email protected]>
AuthorDate: Tue Sep 6 09:39:36 2022 -0400

    Fix generate random selection (#2656)
---
 parquet/src/arrow/async_reader.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/parquet/src/arrow/async_reader.rs 
b/parquet/src/arrow/async_reader.rs
index 564166ecb..4d3b2732a 100644
--- a/parquet/src/arrow/async_reader.rs
+++ b/parquet/src/arrow/async_reader.rs
@@ -995,7 +995,6 @@ mod tests {
     }
 
     #[tokio::test]
-    #[ignore]
     async fn test_fuzz_async_reader_selection() {
         let testdata = arrow::util::test_util::parquet_test_data();
         let path = format!("{}/alltypes_tiny_pages_plain.parquet", testdata);
@@ -1015,7 +1014,7 @@ mod tests {
             let mut selectors = vec![];
 
             while total_rows < 7300 {
-                let row_count: usize = rand.gen_range(0..100);
+                let row_count: usize = rand.gen_range(1..100);
 
                 let row_count = row_count.min(7300 - total_rows);
 

Reply via email to