fix probabilistic failure caused by resource competition

This commit is contained in:
wang--ge 2023-08-31 15:57:22 +08:00
parent 2dd1fdf2ff
commit 9eed9b5e1a

View File

@ -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 <wang__ge@126.com> - 3.4.2-2
- fix probabilistic failure caused by resource competition
* Thu Mar 24 2022 liyanan <liyanan32@huawei.com> - 3.4.2-1
- update to 3.4.2