Skip to content

Commit defa4d9

Browse files
committed
HDDS-1937. Acceptance tests fail if scm webui shows invalid json
1 parent c92de82 commit defa4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-ozone/dist/src/main/compose/testlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ count_datanodes() {
3939
else
4040
docker-compose -f "${compose_file}" exec -T scm curl -s "${jmx_url}"
4141
fi \
42-
| jq -r '.beans[0].NodeCount[] | select(.key=="HEALTHY") | .value'
42+
| jq -r '.beans[0].NodeCount[] | select(.key=="HEALTHY") | .value' || true
4343
}
4444

4545
## @description wait until datanodes are up (or 30 seconds)

0 commit comments

Comments
 (0)