summaryrefslogtreecommitdiffstats
path: root/tests/functional/quota/test_alert_time_out.py
Commit message (Collapse)AuthorAgeFilesLines
* [Testfix] Increase sleep time in test_alert_time_outkshithijiyer2020-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | | Problem: Test script test_alert_time_out currently fails 2 out of 6 times when executed on the same setup this is due to the log files not have 120004 A alert message. This issue is only observed in distributed volume type mounted over fuse protocol. Solution: There is no permanent solution to this problem as even if we increase the sleep 20 seconds there is still a chance that it might fail. The optimal sleep time where it only fails 5 times after 15 attempts is 6 seconds. Hence changing sleep time to 6 seconds. Change-Id: I9e9bd41321e24f502d90c3c34edce9113133755e Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* [TestFix][Quota] Moving test steps from teardown class to teardownSri Vignesh2020-05-111-12/+9
| | | | | | | Move cases from teardown class to teardown in quota Change-Id: Ia20fe9bef09842f891f0f27ab711a1ef4c9f6f39 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* [py2to3] Add py3 support for tests in 'tests/functional/quota'Valerii Ponomarov2019-12-121-4/+3
| | | | | Change-Id: I39ed09ee91a345daae7bb675184a8a30d48575fa Signed-off-by: Valerii Ponomarov <kiparis.kh@gmail.com>
* Quota: Alert time test - Rectifying the sleep timeoutVinayak Papnoi2018-08-031-4/+4
| | | | | | | | | 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>
* Quota: check alert time and message on exeeding soft limit.hari gowtham2018-07-311-0/+339
On a quota enabled volume validate if alert time is printed only after crossing the soft limit. Change-Id: Ia94ae9dd760fed644841df11fe046c184cdd3398 Signed-off-by: hari gowtham <hgowtham@redhat.com> Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com> Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>