diff --git a/types/map_test.go b/types/map_test.go index ea9ba88927..1203c6a47a 100644 --- a/types/map_test.go +++ b/types/map_test.go @@ -186,9 +186,9 @@ func TestMapIterAllP(t *testing.T) { assert.Equal(mapLen, numVisited, "IterAllP was not called with every map key") } testIter(0, 100) - testIter(10, 1000) - testIter(1, 100000) - testIter(64, 100000) + testIter(10, 100) + testIter(1, 100) + testIter(64, 200) } func TestMapFilter(t *testing.T) { diff --git a/types/set_test.go b/types/set_test.go index e9808172c9..2bdb55ec4e 100644 --- a/types/set_test.go +++ b/types/set_test.go @@ -208,9 +208,9 @@ func TestSetIterAllP(t *testing.T) { assert.Equal(setLen, numVisited, "IterAllP was not called with every index") } testIter(0, 100) - testIter(10, 1000) - testIter(1, 100000) - testIter(64, 100000) + testIter(10, 100) + testIter(1, 100) + testIter(64, 200) } func TestSetFilter(t *testing.T) {