mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-10036: Decreasing timeout of failing unit test (#2228)
This test occasionally fails on CentOS6 environments by failing to meet the 2000 milliseconds threshold. Usually it ends up executing the method for ~1100. So decreasing the timeout to 1000 would prevent it from failing.
This commit is contained in:
parent
d7f5b929b2
commit
18ffd7b199
@ -58,7 +58,7 @@ public class HypervisorUtilsTest {
|
||||
System.out.print("Testing block on modified files - ");
|
||||
String filePath = "./testfileinactive";
|
||||
int timeoutSeconds = 8;
|
||||
long thresholdMilliseconds = 2000;
|
||||
long thresholdMilliseconds = 1000;
|
||||
File file = new File(filePath);
|
||||
|
||||
long startTime = setupcheckVolumeFileForActivityFile(file, _minFileSize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user