Skip tests that exceed epoch
Resolves: rhbz#2229002 Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
dd147bfa32
commit
554c696a13
@ -4,7 +4,7 @@
|
|||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
# NOTICE - Updating this package requires updating python-boto3
|
# NOTICE - Updating this package requires updating python-boto3
|
||||||
Version: 1.31.38
|
Version: 1.31.38
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Low-level, data-driven core of boto 3
|
Summary: Low-level, data-driven core of boto 3
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -56,7 +56,9 @@ rm -vr tests/functional/leak
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%pytest %{!?rhel:-n auto}
|
# Skip two tests that exceed the min/max epoch time on RHEL.
|
||||||
|
%pytest %{!?rhel:-n auto} \
|
||||||
|
-k "not test_parse_epoch_beyond_2038 and not test_parse_epoch_negative_time"
|
||||||
%else
|
%else
|
||||||
%pyproject_check_import -e botocore.crt.auth -e botocore.vendored*
|
%pyproject_check_import -e botocore.crt.auth -e botocore.vendored*
|
||||||
%endif
|
%endif
|
||||||
@ -66,6 +68,9 @@ rm -vr tests/functional/leak
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 01 2023 Major Hayden <major@redhat.com> - 1.31.38-3
|
||||||
|
- Skip two tests that exceed the min/max epoch time on RHEL
|
||||||
|
|
||||||
* Fri Sep 01 2023 Major Hayden <major@redhat.com> - 1.31.38-2
|
* Fri Sep 01 2023 Major Hayden <major@redhat.com> - 1.31.38-2
|
||||||
- Add gating configuration
|
- Add gating configuration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user