Skip tests that exceed epoch

Resolves: rhbz#2229002

Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
Major Hayden 2023-09-01 15:38:21 -05:00
parent dd147bfa32
commit 554c696a13
No known key found for this signature in database

View File

@ -4,7 +4,7 @@
Name: python-%{pypi_name}
# NOTICE - Updating this package requires updating python-boto3
Version: 1.31.38
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Low-level, data-driven core of boto 3
License: Apache-2.0
@ -56,7 +56,9 @@ rm -vr tests/functional/leak
%check
%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
%pyproject_check_import -e botocore.crt.auth -e botocore.vendored*
%endif
@ -66,6 +68,9 @@ rm -vr tests/functional/leak
%license LICENSE.txt
%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
- Add gating configuration