mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-31 03:18:43 -06:00
Merge pull request #586 from cmasone-attic/slowTests
Reduce size of test data in Set and Map IterAllP() tests
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user