Fix test_minsize_1 (left_on_dead)

epoch-deletions
Vitaliy Filippov 2023-04-23 17:35:02 +03:00
parent 2877cd0adb
commit 2f16c32eb4
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ kill -INT $OSD2_PID
sleep 5
if ! ($ETCDCTL get /vitastor/pg/state/1/ --prefix --print-value-only | jq -s -e '[ .[] | select(.state == ["active", "degraded"]) ] | length == '$PG_COUNT); then
if ! ($ETCDCTL get /vitastor/pg/state/1/ --prefix --print-value-only | jq -s -e '[ .[] | select(.state == ["active", "degraded", "left_on_dead"]) ] | length == '$PG_COUNT); then
format_error "FAILED: $PG_COUNT PG(s) NOT ACTIVE+DEGRADED"
fi