]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/progress/test_progress.py: fix type of reported_epoch 42034/head
authorNeha Ojha <nojha@redhat.com>
Wed, 30 Jun 2021 19:50:00 +0000 (19:50 +0000)
committerNeha Ojha <nojha@redhat.com>
Wed, 30 Jun 2021 21:51:26 +0000 (21:51 +0000)
because reported_epoch is an int, not a string

Signed-off-by: Neha Ojha <nojha@redhat.com>
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
         }
         ]
         }