From 3c110e2495a2c0b9089b8a6770b44817c0c2a494 Mon Sep 17 00:00:00 2001 From: "Doroszlai, Attila" Date: Sun, 20 Sep 2026 07:04:51 +0200 Subject: [PATCH] HDDS-16518. Intermittent timeout waiting on scm3 9860 --- hadoop-ozone/dist/src/main/compose/upgrade/testlib.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hadoop-ozone/dist/src/main/compose/upgrade/testlib.sh b/hadoop-ozone/dist/src/main/compose/upgrade/testlib.sh index 60b6187e08f4..3e75bfae9873 100755 --- a/hadoop-ozone/dist/src/main/compose/upgrade/testlib.sh +++ b/hadoop-ozone/dist/src/main/compose/upgrade/testlib.sh @@ -104,7 +104,8 @@ run_test() { # The container to run test commands from. Use one of the SCM containers, # but SCM HA may or may not be used. - export SCM="$(docker-compose --project-directory="$compose_dir" config --services | grep --max-count=1 scm)" + # Prefer scm1 for SCM HA, since it is started first. + export SCM="$(docker-compose --project-directory="$compose_dir" config --services | sort | grep --max-count=1 scm)" if ! run_test_script "$test_dir" ./driver.sh; then RESULT=1