SHA256
1
0
forked from pool/coreutils
coreutils/coreutils-tests-rm-ext3-perf-increase-timeout.patch
Bernhard Voelker 2162511fe4 Accepting request 259211 from home:bernhard-voelker:branches:Base:System
Avoid spurious false positive failures of the testsuite
on OBS due to high load.

- coreutils-tests-rm-ext3-perf-increase-timeout.patch:
  Add patch to increase timeout.

- coreutils-tests-make-inotify-rotate-more-robust-and-efficient.patch:
  Add upstream patch.

OBS-URL: https://build.opensuse.org/request/show/259211
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=244
2014-11-01 01:45:58 +00:00

21 lines
747 B
Diff

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