mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-07 01:32:56 +08:00
bug fix
This commit is contained in:
@@ -5,7 +5,7 @@ import "testing"
|
||||
func TestMGenerator(t *testing.T) {
|
||||
gen := MakeGenerator("a")
|
||||
ids := make(map[int64]struct{})
|
||||
size := int(maxSequence) - 1
|
||||
size := int(1e6)
|
||||
for i := 0; i < size; i++ {
|
||||
id := gen.NextId()
|
||||
_, ok := ids[id]
|
||||
|
Reference in New Issue
Block a user