From d4749efea92c3f5d08808d764a26f47a32bf33f5 Mon Sep 17 00:00:00 2001 From: Vinayak Papnoi Date: Thu, 2 Aug 2018 17:17:44 +0530 Subject: Quota: Alert time test - Rectifying the sleep timeout The comments state that the sleep timeout is of 2 seconds but actually it is 10 seconds. This patch will be rectifying that error and the actual sleep will be of 2 seconds. Change-Id: Ie1cabf2c707c95018a750538bc8a13d1a72fe7f1 Signed-off-by: Vinayak Papnoi --- tests/functional/quota/test_alert_time_out.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/functional/quota/test_alert_time_out.py b/tests/functional/quota/test_alert_time_out.py index ea8e3d136..5619105f0 100755 --- a/tests/functional/quota/test_alert_time_out.py +++ b/tests/functional/quota/test_alert_time_out.py @@ -219,7 +219,7 @@ class QuotaTimeOut(GlusterBaseClass): # Inserting sleep of 2 seconds so the alert message gets enough time # to be logged - time.sleep(10) + time.sleep(2) # Append unique string to the brick log g.log.info("Appending string 'appended_string_3' to the log:") @@ -254,7 +254,7 @@ class QuotaTimeOut(GlusterBaseClass): # Inserting sleep of 2 seconds so the alert message gets enough time # to be logged - time.sleep(10) + time.sleep(2) # Append unique string to the brick log g.log.info("Appending string 'appended_string_5' to the log:") @@ -284,7 +284,7 @@ class QuotaTimeOut(GlusterBaseClass): # Inserting sleep of 2 seconds so the alert message gets enough time # to be logged - time.sleep(10) + time.sleep(2) # Append unique string to the brick log g.log.info("Appending string 'appended_string_6' to the log:") @@ -313,7 +313,7 @@ class QuotaTimeOut(GlusterBaseClass): # Inserting sleep of 2 seconds so the alert message gets enough time # to be logged - time.sleep(10) + time.sleep(2) # Append unique string to the brick log g.log.info("Appending string 'Done_with_alert_check_8' to the log:") -- cgit