2021-11-08 10:52:44 +00:00
|
|
|
package storagegrouptest
|
|
|
|
|
|
|
|
import (
|
2023-03-07 11:20:03 +00:00
|
|
|
checksumtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum/test"
|
|
|
|
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
|
|
|
oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/storagegroup"
|
2021-11-08 10:52:44 +00:00
|
|
|
)
|
|
|
|
|
2021-11-12 11:19:16 +00:00
|
|
|
// StorageGroup returns random storagegroup.StorageGroup.
|
2021-03-22 15:04:16 +00:00
|
|
|
func StorageGroup() storagegroup.StorageGroup {
|
|
|
|
var x storagegroup.StorageGroup
|
2021-11-08 10:52:44 +00:00
|
|
|
|
|
|
|
x.SetExpirationEpoch(66)
|
|
|
|
x.SetValidationDataSize(322)
|
|
|
|
x.SetValidationDataHash(checksumtest.Checksum())
|
2022-04-11 16:25:14 +00:00
|
|
|
x.SetMembers([]oid.ID{oidtest.ID(), oidtest.ID()})
|
2021-11-08 10:52:44 +00:00
|
|
|
|
|
|
|
return x
|
|
|
|
}
|