forked from TrueCloudLab/xk6-frostfs
Ekaterina Lebedeva
3f67606f02
`rune` is alias for `int32`. `randString()` used `rand.Int()` which returns system-specific non-negative integer number. For 64-bit systems it will be int64. An attempt to cast `int64` to `int32` (`rune`) leads the latter to be a negative number in case of overflow. This caused the resulting string containing unexpected symbols. Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com> |
||
---|---|---|
.. | ||
obj_exporter.go | ||
obj_info.go | ||
obj_info_test.go | ||
obj_registry.go | ||
obj_selector.go | ||
registry.go |