The retired state is declared and left unannounced for the copy alone; the integration test copies it into the state made after the start (issue 1966)
Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
This commit is contained in:
@@ -219,6 +219,9 @@ func saysWhatItKeeps(t *testing.T, b *bed, done <-chan error) {
|
||||
t.Fatalf("the assigner said %+v, want the %d states its manifest declares", said, len(m.State))
|
||||
}
|
||||
for _, s := range m.State {
|
||||
if s.Name == retiredState {
|
||||
continue // read by the copy alone (migrate.go), by no reader
|
||||
}
|
||||
if !said.Readable(s.Name) {
|
||||
t.Errorf("the assigner said %+v: its state %s is not readable", said, s.Name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user