From 859454aa981a3f78f6b37bfde01923107170b4b1 Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Wed, 28 Feb 2024 14:04:59 -0800 Subject: [PATCH] Fix test Signed-off-by: Nghia Truong --- cpp/tests/transform/row_bit_count_test.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/tests/transform/row_bit_count_test.cu b/cpp/tests/transform/row_bit_count_test.cu index c800283dfe9..f93954dcc9d 100644 --- a/cpp/tests/transform/row_bit_count_test.cu +++ b/cpp/tests/transform/row_bit_count_test.cu @@ -734,7 +734,7 @@ TEST_F(RowBitCount, Table) // Test when num_rows % segment_length == 0 { - auto constexpr segment_length = 4; + auto const segment_length = 3; EXPECT_EQ(t.num_rows() % segment_length, 0); auto const result_segment_sizes = cudf::segmented_bit_count(t, segment_length); auto const expected_segment_sizes = accumulate_row_sizes(*result, segment_length); @@ -743,7 +743,7 @@ TEST_F(RowBitCount, Table) // Test when num_rows % segment_length != 0 { - auto constexpr segment_length = 5; + auto constexpr segment_length = 4; EXPECT_NE(t.num_rows() % segment_length, 0); auto const result_segment_sizes = cudf::segmented_bit_count(t, segment_length); auto const expected_segment_sizes = accumulate_row_sizes(*result, segment_length);