forked from pool/coreutils
2162511fe4
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
21 lines
747 B
Diff
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
|