From bba1b44d7b007756c88487161cce01fcab48f897 Mon Sep 17 00:00:00 2001 From: Zhang Shaowen Date: Tue, 20 Jun 2017 16:32:24 +0800 Subject: [PATCH] modify the thread sleep time in lifecycle expiration test so that it can pass on ceph master branch. Signed-off-by: Zhang Shaowen --- s3tests/functional/test_s3.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index ed87400..61ded61 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -7499,13 +7499,13 @@ def test_lifecycle_expiration(): # Get list of all keys init_keys = bucket.get_all_keys() # Wait for first expiration (plus fudge to handle the timer window) - time.sleep(35) + time.sleep(6) expire1_keys = bucket.get_all_keys() # Wait for next expiration cycle - time.sleep(15) + time.sleep(2) keep2_keys = bucket.get_all_keys() # Wait for final expiration cycle - time.sleep(25) + time.sleep(8) expire3_keys = bucket.get_all_keys() eq(len(init_keys), 6)