Accepting request 588667 from home:mstrigl:branches:devel:libraries:c_c++

- fixed flaky timeout tests for ppc64le (bsc#1085850)
    * fix_timeout_tests_for_ppc64le.patch

OBS-URL: https://build.opensuse.org/request/show/588667
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=42
This commit is contained in:
Adam Majer 2018-03-20 08:31:20 +00:00 committed by Git OBS Bridge
parent 100223c779
commit 17d1f79171
3 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- test/socket.c.orig 2018-03-19 14:39:27.095824143 +0100
+++ test/socket.c 2018-03-19 15:14:52.733528116 +0100
@@ -835,7 +835,7 @@
{
to_finish = time(NULL);
reap_server(); /* hopefully it's hung. */
- ONN("timeout ignored, or very slow machine", to_finish - to_start > 3);
+ ONN("timeout ignored, or very slow machine", to_finish - to_start > 6);
ONN("close failed", ne_sock_close(sock));
return OK;
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 19 13:46:17 UTC 2018 - marco.strigl@suse.com
- fixed flaky timeout tests for ppc64le (bsc#1085850)
* fix_timeout_tests_for_ppc64le.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 23 14:30:00 UTC 2017 - vcizek@suse.com Wed Aug 23 14:30:00 UTC 2017 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package neon # spec file for package neon
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@ Name: neon
Version: 0.30.2 Version: 0.30.2
Release: 0 Release: 0
Summary: An HTTP and WebDAV Client Library Summary: An HTTP and WebDAV Client Library
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Development/Libraries/Other Group: Development/Libraries/Other
Url: http://www.webdav.org/neon Url: http://www.webdav.org/neon
Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
@ -29,6 +29,7 @@ Source2: %{name}.keyring
Source3: baselibs.conf Source3: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
Patch0: %{name}-0.28.4-bloat.patch Patch0: %{name}-0.28.4-bloat.patch
Patch1: fix_timeout_tests_for_ppc64le.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
@ -68,6 +69,9 @@ neon is an HTTP and WebDAV client library with a C interface.
%prep %prep
%setup -q %setup -q
%patch0 %patch0
%ifarch ppc64le
%patch1
%endif
%build %build
rm -f aclocal.m4 ltmain.sh rm -f aclocal.m4 ltmain.sh