HDDS-1937. Acceptance tests fail if scm webui shows invalid json
Signed-off-by: Anu Engineer <aengineer@apache.org>
This commit is contained in:
parent
29bd6f3fc3
commit
addfb7ff7d
|
@ -39,7 +39,7 @@ count_datanodes() {
|
|||
else
|
||||
docker-compose -f "${compose_file}" exec -T scm curl -s "${jmx_url}"
|
||||
fi \
|
||||
| jq -r '.beans[0].NodeCount[] | select(.key=="HEALTHY") | .value'
|
||||
| jq -r '.beans[0].NodeCount[] | select(.key=="HEALTHY") | .value' || true
|
||||
}
|
||||
|
||||
## @description wait until datanodes are up (or 30 seconds)
|
||||
|
|
Loading…
Reference in New Issue