ReleaseLibraryMaintenance 的真实终态是 state=released + released_at,原断言写成 verified 会误红;改为按生产语义核对 released/open。
This commit is contained in:
@@ -447,7 +447,7 @@ func TestThreeBlockersVerifyChain(t *testing.T) {
|
||||
Scan(&scopeState, &scopeIngress, &scopeReleased); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if scopeReleased == nil || scopeState != "verified" || scopeIngress != "open" {
|
||||
if scopeReleased == nil || scopeState != "released" || scopeIngress != "open" {
|
||||
t.Fatalf("scope maintenance final state=%s ingress=%s released=%v", scopeState, scopeIngress, scopeReleased)
|
||||
}
|
||||
sentinelPG := tbUnrelatedSentinel(t, ctx, pool)
|
||||
|
||||
Reference in New Issue
Block a user