storj/testsuite
Yaroslav Vorobiov ee4361fe0d satellite/audit: fix segment stripes length calculation
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
2021-09-01 13:25:20 +03:00
..
ui integration/ui/satellite: fixed tests for onboarding flow 2021-08-26 19:07:52 +03:00
go.mod satellite/audit: fix segment stripes length calculation 2021-09-01 13:25:20 +03:00
go.sum satellite/audit: fix segment stripes length calculation 2021-09-01 13:25:20 +03:00