Skip to content

Commit

Permalink
HDDS-11873. Skip old-only xcompat read tests (#7534)
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Dec 10, 2024
1 parent ec348a7 commit e8f3b25
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 e8f3b25

Please sign in to comment.