Add integration for SSD (read & write targets) (#6585)

* Add integration for SSD (read & write targets)

* Hardcode randStringRunes to fix linter
This commit is contained in:
Trevor Whitney
2022-07-07 10:05:48 -06:00
committed by GitHub
parent f17d3d768c
commit 5073b48b62
5 changed files with 80 additions and 5 deletions

View File

@ -11,8 +11,8 @@ func init() {
var letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
func randStringRunes(n int) string {
b := make([]rune, n)
func randStringRunes() string {
b := make([]rune, 12)
for i := range b {
b[i] = letterRunes[rand.Intn(len(letterRunes))]
}