fsm: Fix tests after changisg SectorState to a string
This commit is contained in:
parent
a1b35aa9d5
commit
147e18e28e
@ -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