File tree 2 files changed +12
-6
lines changed
ci/cudf_pandas_scripts/third-party-integration
python/cudf/cudf_pandas_tests/third_party_integration_tests/tests
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ main() {
26
26
LIBS=${LIBS# [}
27
27
LIBS=${LIBS% ]}
28
28
29
+ ANY_FAILURES=0
30
+
29
31
for lib in ${LIBS// ,/ } ; do
30
32
lib=$( echo " $lib " | tr -d ' ""' )
31
33
echo " Running tests for library $lib "
@@ -56,10 +58,6 @@ main() {
56
58
rapids-logger " Check GPU usage"
57
59
nvidia-smi
58
60
59
- EXITCODE=0
60
- trap " EXITCODE=1" ERR
61
- set +e
62
-
63
61
rapids-logger " pytest ${lib} "
64
62
65
63
NUM_PROCESSES=8
@@ -72,12 +70,20 @@ main() {
72
70
fi
73
71
done
74
72
73
+ EXITCODE=0
74
+ trap " EXITCODE=1" ERR
75
+ set +e
76
+
75
77
TEST_DIR=${TEST_DIR} NUM_PROCESSES=${NUM_PROCESSES} ci/cudf_pandas_scripts/third-party-integration/run-library-tests.sh ${lib}
76
78
79
+ set -e
77
80
rapids-logger " Test script exiting with value: ${EXITCODE} "
81
+ if [[ ${EXITCODE} != 0 ]]; then
82
+ ANY_FAILURES=1
83
+ fi
78
84
done
79
85
80
- exit ${EXITCODE }
86
+ exit ${ANY_FAILURES }
81
87
}
82
88
83
89
main " $@ "
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def test_multidimensional_distributed_timeseries(dask_client):
41
41
rng = np .random .default_rng (seed = 42 )
42
42
# Each row represents data from a different dimension while each column represents
43
43
# data from the same dimension
44
- your_time_series = rng .random (3 , 1000 )
44
+ your_time_series = rng .random (( 3 , 1000 ) )
45
45
# Approximately, how many data points might be found in a pattern
46
46
window_size = 50
47
47
You can’t perform that action at this time.
0 commit comments