14
0

- Make the deadline for tests even larger, on slow obs bots

it takes 1300:
  * python-vdirsyncer-shift-deadline.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal
2019-06-05 07:16:21 +00:00
committed by Git OBS Bridge
parent fddaebc654
commit 71ef7d3fd8
3 changed files with 22 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ Index: vdirsyncer-0.16.7/tests/system/cli/test_sync.py
# XXX: https://github.com/pimutils/vdirsyncer/issues/617
@pytest.mark.skipif(sys.platform == 'darwin',
reason='This test inexplicably fails')
+@settings(deadline=1000.0)
+@settings(deadline=2000.0)
@given(collections=st.sets(
st.text(
st.characters(

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 5 07:15:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Make the deadline for tests even larger, on slow obs bots
it takes 1300:
* python-vdirsyncer-shift-deadline.patch
-------------------------------------------------------------------
Thu May 16 22:35:41 UTC 2019 - ranand@suse.com

View File

@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@ Release: 0
Summary: CalDAV and CardDAV synchronization module
License: BSD-3-Clause
Group: Productivity/Networking/News/Utilities
Url: https://github.com/pimutils/vdirsyncer
URL: https://github.com/pimutils/vdirsyncer
Source0: https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz
Source1: vdirsyncer.service
Source2: vdirsyncer.timer
@@ -38,17 +38,6 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module click-log >= 0.3}
BuildRequires: %{python_module click-threading >= 0.2}
BuildRequires: %{python_module hypothesis >= 3.1}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest-subtesthack}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.4.1}
BuildRequires: %{python_module requests-toolbelt >= 0.4.40}
BuildRequires: %{python_module urllib3}
# /SECTION
Requires: python-atomicwrites >= 0.1.7
Requires: python-click >= 5.0
Requires: python-click-log >= 0.3
@@ -61,6 +50,17 @@ Requires: python-requests >= 2.4.1
Requires: python-requests-toolbelt >= 0.4.0
Recommends: python-requests-oauthlib
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module click-log >= 0.3}
BuildRequires: %{python_module click-threading >= 0.2}
BuildRequires: %{python_module hypothesis >= 3.1}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest-subtesthack}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.4.1}
BuildRequires: %{python_module requests-toolbelt >= 0.4.40}
BuildRequires: %{python_module urllib3}
# /SECTION
%ifpython3
Provides: vdirsyncer = %{version}
Obsoletes: vdirsyncer < %{version}
@@ -84,7 +84,7 @@ rm -rf vdirsyncer.egg-info
%install
%python_install
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
mkdir -p %{buildroot}%{_userunitdir}
install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service