summaryrefslogtreecommitdiffstats
path: root/tests/functional/quota
diff options
context:
space:
mode:
authorVinayak Papnoi <vpapnoi@redhat.com>2018-08-02 17:17:44 +0530
committerAkarsha Rai <akrai@redhat.com>2018-08-03 06:37:31 +0000
commitd4749efea92c3f5d08808d764a26f47a32bf33f5 (patch)
treeb3344a1c25c2621006a349e1ea3be35915d3b060 /tests/functional/quota
parent3276c6455e09660cb2d27c47ea2800f4d98ec760 (diff)
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 <vpapnoi@redhat.com>
Diffstat (limited to 'tests/functional/quota')
-rwxr-xr-xtests/functional/quota/test_alert_time_out.py8
1 files 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 ea8e3d1..5619105 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:")