Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 5a2f847

Browse files
committed
Temporarily add '-s' to pytest serial tests
1 parent c44cfc6 commit 5a2f847

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/docker/runtime_functions.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,8 @@ cd_unittest_ubuntu() {
801801
local mxnet_variant=${1:?"This function requires a mxnet variant as the first argument"}
802802

803803
OMP_NUM_THREADS=$(expr $(nproc) / 4) pytest -m 'not serial' -n 4 --durations=50 --verbose tests/python/unittest
804-
pytest -m 'serial' --durations=50 --verbose tests/python/unittest
804+
# Temporarily tell pytest to not capture output ('-s') to get more insight into Python: Aborted error
805+
pytest -m 'serial' --durations=50 --verbose -s --log-cli-level=DEBUG tests/python/unittest
805806

806807
# https://github.com/apache/incubator-mxnet/issues/11801
807808
# if [[ ${mxnet_variant} = "cpu" ]] || [[ ${mxnet_variant} = "mkl" ]]; then

0 commit comments

Comments
 (0)