fix(cd): align verifier with nullpool budget
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 6m4s
CD Pipeline / build-and-deploy (push) Successful in 15m25s
CD Pipeline / post-deploy-checks (push) Successful in 6m39s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 2s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 26s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 6m4s
CD Pipeline / build-and-deploy (push) Successful in 15m25s
CD Pipeline / post-deploy-checks (push) Successful in 6m39s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 2s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 26s
This commit is contained in:
@@ -382,8 +382,10 @@ spec:
|
||||
raise RuntimeError("connection_limit_mismatch")
|
||||
if observed_limit < required_budget:
|
||||
raise RuntimeError("connection_budget_below_required")
|
||||
if available_connection_headroom < required_budget:
|
||||
raise RuntimeError("connection_headroom_below_required")
|
||||
if available_connection_headroom < representative_probe_count:
|
||||
raise RuntimeError(
|
||||
"connection_headroom_below_probe_requirement"
|
||||
)
|
||||
if table_gap_count or sequence_gap_count:
|
||||
raise RuntimeError("database_privilege_gap")
|
||||
print(json.dumps({
|
||||
@@ -414,7 +416,7 @@ spec:
|
||||
"representative_probe_count_invalid",
|
||||
"connection_limit_mismatch",
|
||||
"connection_budget_below_required",
|
||||
"connection_headroom_below_required",
|
||||
"connection_headroom_below_probe_requirement",
|
||||
"database_privilege_gap",
|
||||
}
|
||||
error_code = str(exc)
|
||||
|
||||
Reference in New Issue
Block a user