]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/progress/test_progress.py: fix type of reported_epoch
authorNeha Ojha <nojha@redhat.com>
Wed, 30 Jun 2021 19:50:00 +0000 (19:50 +0000)
committerKamoltat <ksirivad@redhat.com>
Thu, 30 Sep 2021 13:33:03 +0000 (13:33 +0000)
because reported_epoch is an int, not a string

Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit a8f3a0eb83653ce6b50aaccd43bdc456e6394484)

src/pybind/mgr/progress/test_progress.py

index 2eab07fa39f4f5ecfe0a452f18b8328199129be6..9d39cbdd6840c9b67055e1027a1b9517eeb45178 100644 (file)
@@ -38,7 +38,7 @@ class TestPgRecoveryEvent(object):
             1
           ],
           "pgid": "1.0",
-          "reported_epoch": "30"
+          "reported_epoch": 30
         },
        {
           "state": "active+clean",
@@ -55,7 +55,7 @@ class TestPgRecoveryEvent(object):
             1
           ],
           "pgid": "1.1",
-          "reported_epoch": "30"
+          "reported_epoch": 30
         },
        {
           "state": "active+clean",
@@ -72,7 +72,7 @@ class TestPgRecoveryEvent(object):
             1
           ],
           "pgid": "1.2",
-          "reported_epoch": "30"
+          "reported_epoch": 30
         }
         ]
         }