Skip to content

Commit

Permalink
May fix jenkins AutoEstimator randomly fail (intel-analytics#4164)
Browse files Browse the repository at this point in the history
* change order of autoestimator test

* reduce core num and trial num
  • Loading branch information
shanyu-sys committed Jun 29, 2021
1 parent 36bf095 commit 78e5025
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions python/orca/src/test/dev/run-pytests-ray
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ fi

ray stop -f

echo "Running orca auto estimator tests"
python -m pytest -v ../test/zoo/orca/automl/autoestimator
exit_status_6=$?
if [ $exit_status_6 -ne 0 ];
then
exit $exit_status_6
fi

ray stop -f

echo "Running automl tests"
python -m pytest -v ../test/zoo/automl
exit_status_3=$?
Expand Down Expand Up @@ -80,13 +90,3 @@ then
fi

ray stop -f

echo "Running orca auto estimator tests"
python -m pytest -v ../test/zoo/orca/automl/autoestimator
exit_status_6=$?
if [ $exit_status_6 -ne 0 ];
then
exit $exit_status_6
fi

ray stop -f

0 comments on commit 78e5025

Please sign in to comment.