]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix failing user tests 32461/head
authorTatjana Dehler <tdehler@suse.com>
Thu, 2 Jan 2020 12:22:48 +0000 (13:22 +0100)
committerTatjana Dehler <tdehler@suse.com>
Tue, 7 Jan 2020 10:56:52 +0000 (11:56 +0100)
commitb9094f1e17d648feec63c0e54538b9a015553edf
tree69b3f46a8600c650c1f0bfceef7d5451b3c0833d
parent8988a07e2d8a58e1d8bf4c2b90cef20d1d87400a
mgr/dashboard: fix failing user tests

Choose another future_date_1 date (9 days instead of 10) to
make sure the expiration date will be between future_date_1
and future_date_2. Otherwise the expiration date might be
equal to future_date_1.
Also wait for 10 seconds before the password refresh in
test_pwd_expiration_date_update to prevent date equality.

Fixes: https://tracker.ceph.com/issues/43431
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
qa/tasks/mgr/dashboard/test_user.py