xk6-frostfs/internal/registry
Ekaterina Lebedeva 3f67606f02 [#144] registry: Fix string generator func in obj info test
`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>
2024-06-11 17:43:15 +03:00
..
obj_exporter.go [#139] Allow registry to export gRPC objects 2024-06-04 15:05:52 +03:00
obj_info.go [#42] registry: Optimize Count() for ObjSelector 2023-05-15 16:08:26 +03:00
obj_info_test.go [#144] registry: Fix string generator func in obj info test 2024-06-11 17:43:15 +03:00
obj_registry.go [#141] registry: Use Batch() for all methods 2024-05-30 15:33:32 +03:00
obj_selector.go [#133] registry: Implement oneshot selector 2024-04-05 13:43:01 +03:00
registry.go [#133] registry: Implement oneshot selector 2024-04-05 13:43:01 +03:00