Skip to content

Commit 030ae7a

Browse files
committed
Also adapt java variable-size rolling tests
1 parent 8c9dde5 commit 030ae7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/src/test/java/ai/rapids/cudf/ColumnVectorTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2983,7 +2983,7 @@ void testWindowStaticCounts() {
29832983

29842984
@Test
29852985
void testWindowDynamicNegative() {
2986-
try (ColumnVector precedingCol = ColumnVector.fromInts(3, 3, 3, 4, 4);
2986+
try (ColumnVector precedingCol = ColumnVector.fromInts(1, 2, 3, 4, 4);
29872987
ColumnVector followingCol = ColumnVector.fromInts(-1, -1, -1, -1, 0)) {
29882988
try (WindowOptions window = WindowOptions.builder()
29892989
.minPeriods(2).window(precedingCol, followingCol).build()) {
@@ -3014,7 +3014,7 @@ void testWindowLag() {
30143014
@Test
30153015
void testWindowDynamic() {
30163016
try (ColumnVector precedingCol = ColumnVector.fromInts(1, 2, 3, 1, 2);
3017-
ColumnVector followingCol = ColumnVector.fromInts(2, 2, 2, 2, 2)) {
3017+
ColumnVector followingCol = ColumnVector.fromInts(2, 2, 2, 1, 0)) {
30183018
try (WindowOptions window = WindowOptions.builder().minPeriods(2)
30193019
.window(precedingCol, followingCol).build()) {
30203020
try (ColumnVector v1 = ColumnVector.fromInts(5, 4, 7, 6, 8);

0 commit comments

Comments
 (0)