Skip to content

Commit

Permalink
stores: fix TestDeleteHostSector
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Nov 30, 2023
1 parent dca1f91 commit 21be171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stores/metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3474,10 +3474,11 @@ func TestDeleteHostSector(t *testing.T) {
}

// create a healthy slab with one sector that is uploaded to all contracts.
key, _ := object.GenerateEncryptionKey().MarshalBinary()
root := types.Hash256{1, 2, 3}
slab := dbSlab{
DBContractSetID: 1,
Key: []byte(object.GenerateEncryptionKey().String()),
Key: key,
Health: 1.0,
HealthValidUntil: time.Now().Add(time.Hour).Unix(),
TotalShards: 1,
Expand Down

0 comments on commit 21be171

Please sign in to comment.