Attila Doroszlai created HDDS-11107:
---------------------------------------
Summary: Remove unnecessary run_test_scripts call in upgrade tests
Key: HDDS-11107
URL: https://issues.apache.org/jira/browse/HDDS-11107
Project: Apache Ozone
Issue Type: Sub-task
Components: test
Reporter: Attila Doroszlai
The following call to {{run_test_scripts}} is unnecessary. Since {{$tests}} is
empty, it is a no-op.
{code:title=https://github.com/apache/ozone/blob/f2bb59b18c440413b9d0decf3525ce2afcdf79ab/hadoop-ozone/dist/src/main/compose/upgrade/test.sh#L29}
run_test_scripts ${tests} || RESULT=$?
{code}
Real test execution happens here:
{code:title=https://github.com/apache/ozone/blob/f2bb59b18c440413b9d0decf3525ce2afcdf79ab/hadoop-ozone/dist/src/main/compose/upgrade/test.sh#L38-L42}
export OZONE_CURRENT_VERSION=1.5.0
run_test ha non-rolling-upgrade 1.4.0 "$OZONE_CURRENT_VERSION"
# run_test ha non-rolling-upgrade 1.3.0 "$OZONE_CURRENT_VERSION"
# run_test ha non-rolling-upgrade 1.2.1 "$OZONE_CURRENT_VERSION"
# run_test om-ha non-rolling-upgrade 1.1.0 "$OZONE_CURRENT_VERSION"
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]