From 383f851a41d1ad2e809367fc886a1fcbcf0fbabb Mon Sep 17 00:00:00 2001 From: Sheral Kumar Date: Wed, 2 Sep 2026 11:56:25 -0400 Subject: [PATCH] [ROCm][CI] Fix false multi-node detection on native CI Signed-off-by: Sheral Kumar --- .buildkite/scripts/hardware_ci/run-amd-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/hardware_ci/run-amd-test.sh b/.buildkite/scripts/hardware_ci/run-amd-test.sh index 721c690c71fa..9cc2e1c0ae5a 100755 --- a/.buildkite/scripts/hardware_ci/run-amd-test.sh +++ b/.buildkite/scripts/hardware_ci/run-amd-test.sh @@ -645,7 +645,7 @@ is_multi_node() { fi # Fallback: detect the bracket syntax structurally # Pattern: [...] && [...] (per-node command arrays) - if [[ "$cmds" =~ \[.*\].*\&\&.*\[.*\] ]]; then + if [[ "$cmds" == *'] && ['* ]]; then return 0 fi return 1