diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/perf/masseagerload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/perf/masseagerload.py b/test/perf/masseagerload.py index 01aa7cf9e..d4076f5ba 100644 --- a/test/perf/masseagerload.py +++ b/test/perf/masseagerload.py @@ -36,8 +36,8 @@ class LoadTest(AssertMixin): items.insert().execute(*l) for x in range(1, NUM/DIVISOR + 1): l = [] - for y in range(1, NUM/(NUM/DIVISOR) + 1): - z = ((x-1) * NUM/(NUM/DIVISOR)) + y + for y in range(1, DIVISOR + 1): + z = ((x-1) * DIVISOR) + y l.append({'sub_id':z,'value':'this is iteim #%d' % z, 'parent_id':x}) #print l subitems.insert().execute(*l) |
