summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-14 10:44:07 +0100
committerRemi Collet <remi@remirepo.net>2017-11-14 10:44:07 +0100
commit280a90c3235bc1770a48c88166a872ee88a7b162 (patch)
treeaaf058ec7f67a8b2a52b1f1d14ee856c1edaac4e
parented975827086e6587f072aa5638d77c4c987e92b1 (diff)
try to slowdown tests with erratic result (FTBFS)
-rw-r--r--php-zendframework-zend-cache.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-zendframework-zend-cache.spec b/php-zendframework-zend-cache.spec
index 80f9ff2..ae2dfcc 100644
--- a/php-zendframework-zend-cache.spec
+++ b/php-zendframework-zend-cache.spec
@@ -21,7 +21,7 @@
Name: php-%{gh_owner}-%{gh_project}
Version: 2.7.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Zend Framework %{library} component
Group: Development/Libraries
@@ -166,6 +166,11 @@ Zend\Loader\AutoloaderFactory::factory(array(
require_once '%{php_home}/Zend/autoload.php';
EOF
+# Try to slowdown tests with erratic results
+sed -e '/unlinkDelay/s/5000/50000/' \
+ -e '/usleep/s/1000/10000/' \
+ -i test/Storage/Adapter/FilesystemTest.php
+
ret=0
for cmd in php php56 php70 php71 php72; do
if which $cmd; then
@@ -188,6 +193,9 @@ exit $ret
%changelog
+* Tue Nov 14 2017 Remi Collet <remi@fedoraproject.org> - 2.7.2-5
+- try to slowdown tests with erratic result (FTBFS)
+
* Tue Oct 31 2017 Remi Collet <remi@fedoraproject.org> - 2.7.2-4
- fix FTBFS from Koschei, add upstream patch for PHP 7.2