Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading