qa/standalone/osd/repro_long_log.sh: fix test

The log trimming case wasn't quite right.  Before HEAD^ we were
rolling forward too aggressively and miscalculating the can_rollforward_to,
which affected the trim_to calculation.

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2018-07-11 07:10:28 -05:00
parent 858ff647ff
commit 4f9fdd98e2

View File

@ -138,10 +138,11 @@ function TEST_trim_max_entries()
rados -p test rm foo
test_log_size $PGID 3
rados -p test rm foo
test_log_size $PGID 4
test_log_size $PGID 3
rados -p test rm foo
test_log_size $PGID 2
test_log_size $PGID 3
rados -p test rm foo
test_log_size $PGID 3
}
main repro-long-log "$@"