]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/mgr/dashboard: add extra wait to test 43352/head
authorErnesto Puerta <epuertat@redhat.com>
Wed, 22 Sep 2021 12:10:28 +0000 (14:10 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Wed, 29 Sep 2021 18:26:40 +0000 (20:26 +0200)
Fixes: https://tracker.ceph.com/issues/49344
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 9ff778cdaa1ef40fcfa04f221a1da786a0e19655)

qa/tasks/mgr/dashboard/test_user.py

index 171a8f3abeb98f7fa5fb9a9165f96134390a0ce9..9507b56b5e743edc03ec5b90cf11e4233b362c0c 100644 (file)
@@ -402,6 +402,9 @@ class UserTest(DashboardTestCase):
         user_1 = self._get('/api/user/user1')
         self.assertStatus(200)
 
+        # Let's wait 1 s to ensure pwd expiration date is not the same
+        time.sleep(1)
+
         self.login('user1', 'mypassword10#')
         self._post('/api/user/user1/change_password', {
             'old_password': 'mypassword10#',