From 7c9dcc984e19a36df51a584d449f26697a09314a Mon Sep 17 00:00:00 2001 From: "Robert (Bobby) Evans" Date: Thu, 16 Nov 2023 10:44:48 -0600 Subject: [PATCH 1/2] Force test_hypot to be single seed for now --- integration_tests/run_pyspark_from_build.sh | 2 +- integration_tests/src/main/python/arithmetic_ops_test.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/integration_tests/run_pyspark_from_build.sh b/integration_tests/run_pyspark_from_build.sh index 922cad2dcdd..d6403119779 100755 --- a/integration_tests/run_pyspark_from_build.sh +++ b/integration_tests/run_pyspark_from_build.sh @@ -298,7 +298,7 @@ EOF fi # Set a seed to be used in the tests, for datagen - export SPARK_RAPIDS_TEST_DATAGEN_SEED=${SPARK_RAPIDS_TEST_DATAGEN_SEED:-`date +%s`} + export SPARK_RAPIDS_TEST_DATAGEN_SEED=${SPARK_RAPIDS_TEST_DATAGEN_SEED:-${DATAGEN_SEED:-`date +%s`}} echo "SPARK_RAPIDS_TEST_DATAGEN_SEED used: $SPARK_RAPIDS_TEST_DATAGEN_SEED" # Set a seed to be used to pick random tests to inject with OOM diff --git a/integration_tests/src/main/python/arithmetic_ops_test.py b/integration_tests/src/main/python/arithmetic_ops_test.py index a7ab7b70386..cb3c4ebd151 100644 --- a/integration_tests/src/main/python/arithmetic_ops_test.py +++ b/integration_tests/src/main/python/arithmetic_ops_test.py @@ -572,6 +572,7 @@ def test_sqrt(data_gen): assert_gpu_and_cpu_are_equal_collect( lambda spark : unary_op_df(spark, data_gen).selectExpr('sqrt(a)')) +@datagen_overrides(seed=0, reason='https://github.com/NVIDIA/spark-rapids/issues/9744') @approximate_float @pytest.mark.parametrize('data_gen', double_gens, ids=idfn) def test_hypot(data_gen): From 9152a7074a29704ea5d25869bf27d94f8bd6fb53 Mon Sep 17 00:00:00 2001 From: "Robert (Bobby) Evans" Date: Thu, 16 Nov 2023 10:47:34 -0600 Subject: [PATCH 2/2] Forgot to sign it Signed-off-by: Robert (Bobby) Evans