Disable unstable unit test

This commit is contained in:
王玺源 2021-12-10 08:59:43 +00:00 committed by Gitee
parent ee09469fc5
commit 6f6b77dda5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: openstack-glance
Version: 19.0.4
Release: 3
Release: 4
Summary: OpenStack Image Service (Glance)
License: ASL 2.0
URL: https://docs.openstack.org/glance
@ -318,7 +318,7 @@ mv %{buildroot}%{_prefix}%{_sysconfdir}/glance/metadefs/* %{buildroot}%{_sysconf
rm -rf %{buildroot}%{_prefix}%{_sysconfdir}/glance
%check
stestr run --black-regex 'glance.tests.unit.common.test_format_inspector.TestFormatInspectors.test_vdi'
stestr run --black-regex '(glance.tests.unit.common.test_format_inspector.TestFormatInspectors.test_vdi|glance.tests.unit.v2.test_tasks_resource.TestTasksController.test_create_with_live_time)'
%pre common
%openstack_pre_user_group_create glance glance /sbin/nologin
@ -408,6 +408,9 @@ stestr run --black-regex 'glance.tests.unit.common.test_format_inspector.TestFor
%{python3_sitelib}/glance/tests
%changelog
* Fri Dec 10 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 19.0.4-4
- Disable unstable unit test
* Thu Nov 25 2021 lijiawei <ljw1101.vip@gmail.com> - 19.0.4-3
- Update the spec structure