Skip to content

Commit

Permalink
Add noSanitizer tag to Java reduction tests failing with sanitizer in…
Browse files Browse the repository at this point in the history
… CUDA 12 (#13904)

Relates to NVIDIA/spark-rapids-jni#1349.  The Java ReductionTest unit tests are failing when run under CUDA 12's compute-sanitizer but pass when run with the CUDA 11 version.  To unblock CI, marking the affected tests to be run without the sanitizer in the interim while this is being investigated.

Authors:
  - Jason Lowe (https://github.com/jlowe)

Approvers:
  - Nghia Truong (https://github.com/ttnghia)
  - Gera Shegalov (https://github.com/gerashegalov)

URL: #13904
  • Loading branch information
jlowe authored Aug 18, 2023
1 parent fb0277e commit 28b5b6e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions java/src/test/java/ai/rapids/cudf/ReductionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package ai.rapids.cudf;

import com.google.common.collect.Lists;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
Expand Down Expand Up @@ -430,6 +431,7 @@ private static void assertEqualsDelta(ReductionAggregation op, Scalar expected,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createBooleanParams")
void testBoolean(ReductionAggregation op, Boolean[] values,
Expand All @@ -441,6 +443,7 @@ void testBoolean(ReductionAggregation op, Boolean[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createByteParams")
void testByte(ReductionAggregation op, Byte[] values,
Expand All @@ -452,6 +455,7 @@ void testByte(ReductionAggregation op, Byte[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createShortParams")
void testShort(ReductionAggregation op, Short[] values,
Expand All @@ -474,6 +478,7 @@ void testInt(ReductionAggregation op, Integer[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createLongParams")
void testLong(ReductionAggregation op, Long[] values,
Expand All @@ -496,6 +501,7 @@ void testFloat(ReductionAggregation op, Float[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createDoubleParams")
void testDouble(ReductionAggregation op, Double[] values,
Expand All @@ -507,6 +513,7 @@ void testDouble(ReductionAggregation op, Double[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createTimestampDaysParams")
void testTimestampDays(ReductionAggregation op, Integer[] values,
Expand All @@ -518,6 +525,7 @@ void testTimestampDays(ReductionAggregation op, Integer[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createTimestampSecondsParams")
void testTimestampSeconds(ReductionAggregation op, Long[] values,
Expand All @@ -529,6 +537,7 @@ void testTimestampSeconds(ReductionAggregation op, Long[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createTimestampMilliSecondsParams")
void testTimestampMilliseconds(ReductionAggregation op, Long[] values,
Expand All @@ -540,6 +549,7 @@ void testTimestampMilliseconds(ReductionAggregation op, Long[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createTimestampMicroSecondsParams")
void testTimestampMicroseconds(ReductionAggregation op, Long[] values,
Expand All @@ -551,6 +561,7 @@ void testTimestampMicroseconds(ReductionAggregation op, Long[] values,
}
}

@Tag("noSanitizer")
@ParameterizedTest
@MethodSource("createTimestampNanoSecondsParams")
void testTimestampNanoseconds(ReductionAggregation op, Long[] values,
Expand Down

0 comments on commit 28b5b6e

Please sign in to comment.