registry: Add tests for registry exporter #144

Merged
fyrchik merged 2 commits from elebedeva/xk6-frostfs:fix/registry-export-grpc-obj into master 2024-09-04 19:51:18 +00:00
Showing only changes of commit 3f67606f02 - Show all commits

View file

@ -101,7 +101,7 @@ func randomObjectInfo() ObjectInfo {
func randString(n int) string { func randString(n int) string {
var sb strings.Builder var sb strings.Builder
for i := 0; i < n; i++ { for i := 0; i < n; i++ {
sb.WriteRune('a' + rune(rand.Int())%('z'-'a'+1)) sb.WriteRune('a' + rune(rand.Int31())%('z'-'a'+1))
} }
return sb.String() return sb.String()
} }