!7 fix probabilistic failure caused by resource competition

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-08-31 08:22:08 +00:00 committed by Gitee
commit cd4296832d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global gem_name sprockets-rails %global gem_name sprockets-rails
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 3.4.2 Version: 3.4.2
Release: 1 Release: 2
Summary: Sprockets Rails integration Summary: Sprockets Rails integration
License: MIT License: MIT
URL: https://github.com/rails/sprockets-rails URL: https://github.com/rails/sprockets-rails
@ -36,7 +36,7 @@ cp -a .%{gem_dir}/* \
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
ln -s %{_builddir}/%{gem_name}-%{version}/test . 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 popd
%files %files
@ -51,6 +51,9 @@ popd
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
%changelog %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 * Thu Mar 24 2022 liyanan <liyanan32@huawei.com> - 3.4.2-1
- update to 3.4.2 - update to 3.4.2