]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
standalone/osd: Test adjust with new trimming function
authorNitzanMordhai <nmordech@redhat.com>
Wed, 24 Aug 2022 05:46:15 +0000 (05:46 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 24 Aug 2022 08:19:18 +0000 (08:19 +0000)
Change the number of dups trimmied according to the new loop.

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
qa/standalone/osd/repro_long_log.sh

index 95133263ca5be37c9dc8893e909b7186318f2c30..fa27d7017519080a634be5a2db3b0494c52c2989 100755 (executable)
@@ -169,25 +169,25 @@ function TEST_trim_max_entries_with_dups()
     rados -p test rm foo
     test_log_size $PGID 18 2 || return 1
     rados -p test rm foo
-    test_log_size $PGID 15 5 || return 1
+    test_log_size $PGID 15 6 || return 1
     rados -p test rm foo
-    test_log_size $PGID 12 8 || return 1
+    test_log_size $PGID 12 10 || return 1
     rados -p test rm foo
-    test_log_size $PGID 9 11 || return 1
+    test_log_size $PGID 9 14 || return 1
     rados -p test rm foo
-    test_log_size $PGID 6 14 || return 1
+    test_log_size $PGID 6 18 || return 1
     rados -p test rm foo
-    test_log_size $PGID 3 17 || return 1
+    test_log_size $PGID 3 20 || return 1
 
     # below trim_min
     rados -p test rm foo
-    test_log_size $PGID 4 17 || return 1
+    test_log_size $PGID 4 20 || return 1
     rados -p test rm foo
-    test_log_size $PGID 3 17 || return 1
+    test_log_size $PGID 3 20 || return 1
     rados -p test rm foo
-    test_log_size $PGID 4 17 || return 1
+    test_log_size $PGID 4 20 || return 1
     rados -p test rm foo
-    test_log_size $PGID 3 17 || return 1
+    test_log_size $PGID 3 20 || return 1
 }
 
 main repro-long-log "$@"