fsm: Fix tests after changisg SectorState to a string
This commit is contained in:
parent
abb433aa42
commit
5977db8833
@ -102,5 +102,5 @@ func TestPlanCommittingHandlesSectorCommitFailed(t *testing.T) {
|
||||
|
||||
require.NoError(t, planCommitting(events, m.state))
|
||||
|
||||
require.Equal(t, api.SectorStates[api.CommitFailed], api.SectorStates[m.state.State])
|
||||
require.Equal(t, api.CommitFailed, m.state.State)
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ func TestSectorInfoSelialization(t *testing.T) {
|
||||
dummyCid := builtin.AccountActorCodeID
|
||||
|
||||
si := &SectorInfo{
|
||||
State: 123,
|
||||
State: "stateful",
|
||||
SectorID: 234,
|
||||
Nonce: 345,
|
||||
Pieces: []Piece{{
|
||||
|
Loading…
Reference in New Issue
Block a user