ee4361fe0d
GetRandomStripe function to randomly select a segment stripe to audit was using `segment.EncryptedSize/segment.Redundancy.StripeSize()`. Since integer divsion truncates it leads to skipping last stripe if its size is less than stripe size. Use `Redundancy.StripeCount` to get correct stripe count. Change-Id: Ida09e035be30a21219ab3e1aedd66af8be707d1b
14 lines
254 B
Modula-2
14 lines
254 B
Modula-2
module storj.io/storj/testsuite
|
|
|
|
go 1.16
|
|
|
|
replace storj.io/storj => ../
|
|
|
|
require (
|
|
github.com/go-rod/rod v0.100.0
|
|
github.com/stretchr/testify v1.7.0
|
|
go.uber.org/zap v1.17.0
|
|
storj.io/common v0.0.0-20210830144612-749c41c36e30
|
|
storj.io/storj v1.36.1
|
|
)
|