From 9eed9b5e1abbe1e30e80aed73eb104d1f6f980ff Mon Sep 17 00:00:00 2001 From: wang--ge Date: Thu, 31 Aug 2023 15:57:22 +0800 Subject: [PATCH] fix probabilistic failure caused by resource competition --- rubygem-sprockets-rails.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rubygem-sprockets-rails.spec b/rubygem-sprockets-rails.spec index 7b2dede..49eebe8 100644 --- a/rubygem-sprockets-rails.spec +++ b/rubygem-sprockets-rails.spec @@ -1,7 +1,7 @@ %global gem_name sprockets-rails Name: rubygem-%{gem_name} Version: 3.4.2 -Release: 1 +Release: 2 Summary: Sprockets Rails integration License: MIT URL: https://github.com/rails/sprockets-rails @@ -36,7 +36,7 @@ cp -a .%{gem_dir}/* \ %check pushd .%{gem_instdir} ln -s %{_builddir}/%{gem_name}-%{version}/test . -ruby -Ilib -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' +taskset -c 0 ruby -Ilib -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' popd %files @@ -51,6 +51,9 @@ popd %doc %{gem_instdir}/README.md %changelog +* Thu Aug 31 2023 Ge Wang - 3.4.2-2 +- fix probabilistic failure caused by resource competition + * Thu Mar 24 2022 liyanan - 3.4.2-1 - update to 3.4.2