SHA256
1
0
forked from pool/coreutils
coreutils/coreutils-tests-rm-ext3-perf-increase-timeout.patch

21 lines
747 B
Diff
Raw Normal View History

Avoid spurious false positives on OBS due to high load.
Increase threshold, as most failures in the last 2 years
have been seen with around 60-63 seconds.
---
tests/rm/ext3-perf.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: tests/rm/ext3-perf.sh
===================================================================
--- tests/rm/ext3-perf.sh.orig
+++ tests/rm/ext3-perf.sh
@@ -24,7 +24,7 @@ very_expensive_
# Using rm -rf to remove a 400k-entry directory takes:
# - 9 seconds with the patch, on a 2-yr-old system
# - 350 seconds without the patch, on a high-end system (disk 20-30% faster)
-threshold_seconds=60
+threshold_seconds=90 # increased on OBS, was: 60
# The number of entries in our test directory.
n=400000