mirror of
https://github.com/ceph/ceph
synced 2025-01-28 05:53:37 +00:00
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:
parent
858ff647ff
commit
4f9fdd98e2
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user