From d998ee7963ab959758fba62c10767651f9973c07 Mon Sep 17 00:00:00 2001 From: "Doroszlai, Attila" Date: Fri, 6 Dec 2024 13:42:36 +0100 Subject: [PATCH] HDDS-11873. Skip old-only xcompat read tests --- hadoop-ozone/dist/src/main/compose/xcompat/test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hadoop-ozone/dist/src/main/compose/xcompat/test.sh b/hadoop-ozone/dist/src/main/compose/xcompat/test.sh index cf23b60bf73..e452463a066 100755 --- a/hadoop-ozone/dist/src/main/compose/xcompat/test.sh +++ b/hadoop-ozone/dist/src/main/compose/xcompat/test.sh @@ -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