Red Hat Bugzilla – Bug 839101
History limiting isn't working correctly
Last modified: 2012-09-07 03:08:24 EDT
The current test suite only tests the case of "python -m pulpdist.manage_repos history --num_entries 0".
Any value higher than zero is returning *all* entries instead of just the requested number.
Fixed for PulpDist 0.0.18
Expected behaviour: on a local mirror with more than 1 sync event in its history, the command "python -m pulpdist.manage_repos history -n 1 --mirror <mirror_id>" should display only the most recent entry, "-n 2" only two entries, etc, until all entries are displayed.
Fixed in 0.1.0