From 3d61bedf0e581cde2ca1aa14bb2d6804d639b09f Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Sun, 6 Sep 2026 22:52:04 -0700 Subject: [PATCH] test: reduce JSON multi-batch coverage (cherry picked from commit cf40b5a9a48ad47ef814d712d160f3b5fbe518a2) --- cpp/tests/large_strings/json_tests.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cpp/tests/large_strings/json_tests.cpp b/cpp/tests/large_strings/json_tests.cpp index d802958ff9a7..436299ea4242 100644 --- a/cpp/tests/large_strings/json_tests.cpp +++ b/cpp/tests/large_strings/json_tests.cpp @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION. + * SPDX-FileCopyrightText: Copyright (c) 2024-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ @@ -103,10 +103,8 @@ TEST_P(JsonLargeReaderTest, MultiBatch) auto datasources = cudf::io::datasource::create(json_lines_options.get_source().host_buffers()); auto cdatasources = cudf::io::datasource::create(cjson_lines_options.get_source().host_buffers()); - // Test for different chunk sizes + // Test small byte ranges that require many batches and large ranges that exceed a batch. std::vector chunk_sizes{batch_size_upper_bound / 4, - batch_size_upper_bound / 2, - batch_size_upper_bound, static_cast(batch_size_upper_bound * 2)}; for (auto chunk_size : chunk_sizes) {