]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: modify osd-scrub-repair to match PR #43239 changes 43544/head
authorRonen Friedman <rfriedma@redhat.com>
Wed, 20 Oct 2021 06:42:51 +0000 (06:42 +0000)
committerMykola Golub <mgolub@suse.com>
Wed, 20 Oct 2021 15:57:13 +0000 (18:57 +0300)
PR #43239 has modified ECBackend::get_hash_info() behavior.
Modified the standalone scrub test to match.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit 52e9fa16ef5e9b73f94444041bb5bfd6ffeb2367)

qa/standalone/scrub/osd-scrub-repair.sh

index e000134a8c5287ca3ba2d3645e9c9615f53b4a0b..63400a1d0a7356167170a0721bfb144f77d6bb24 100755 (executable)
@@ -4673,8 +4673,6 @@ EOF
           "primary": false
         },
         {
-          "data_digest": "0x00000000",
-          "omap_digest": "0xffffffff",
           "object_info": {
             "oid": {
               "oid": "EOBJ5",
@@ -4711,6 +4709,7 @@ EOF
           },
           "size": 4096,
           "errors": [
+            "read_error",
             "size_mismatch_info",
             "obj_size_info_mismatch"
           ],
@@ -4763,6 +4762,7 @@ EOF
         "watchers": {}
       },
       "union_shard_errors": [
+        "read_error",
         "size_mismatch_info",
         "obj_size_info_mismatch"
       ],
@@ -5441,8 +5441,8 @@ EOF
           "size": 4096,
           "shard": 0,
           "errors": [
+            "read_error",
             "size_mismatch_info",
-            "ec_size_error",
             "obj_size_info_mismatch"
           ],
           "osd": 1,
@@ -5493,8 +5493,8 @@ EOF
         "watchers": {}
       },
       "union_shard_errors": [
+        "read_error",
         "size_mismatch_info",
-        "ec_size_error",
         "obj_size_info_mismatch"
       ],
       "errors": [