Skip to content

Commit

Permalink
HDDS-11873. Skip old-only xcompat read tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai committed Dec 6, 2024
1 parent d4c41e5 commit d998ee7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hadoop-ozone/dist/src/main/compose/xcompat/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ test_cross_compatibility() {

for client_version in "$@"; do
for data_version in $(echo "$client_version" "$cluster_version" "$current_version" | xargs -n1 | sort -u); do

# do not test old-only scenario
if [[ "${cluster_version}" != "${current_version}" ]] \
&& [[ "${client_version}" != "${current_version}" ]] \
&& [[ "${data_version}" != "${current_version}" ]]; then
continue
fi

client _read ${data_version}
done
done
Expand Down

0 comments on commit d998ee7

Please sign in to comment.