Accepting request 959844 from devel:tools:scm:svn

OBS-URL: https://build.opensuse.org/request/show/959844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/subversion?expand=0&rev=186
This commit is contained in:
2022-03-08 19:31:24 +00:00
committed by Git OBS Bridge
3 changed files with 37 additions and 1 deletions

25
fix-javahl-test.patch Normal file
View File

@@ -0,0 +1,25 @@
Index: subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
===================================================================
--- subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java (revision 1895276)
+++ subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java (working copy)
@@ -4676,7 +4676,19 @@
// RuntimeException("Test exception") is expected here
}
- tunnelAgent.joinAndTest();
+ // In this test, there is a race condition that sometimes results in
+ // IOException when 'WAIT_TUNNEL' tries to read from a pipe that
+ // already has its read end closed. This is not an error, but
+ // it's hard to distinguish this case from other IOException which
+ // indicate a problem. To reproduce, simply wrap this test's body in
+ // a loop. The workaround is to ignore any detected IOException.
+ //
+ // tunnelAgent.joinAndTest();
+ try {
+ tunnelAgent.join();
+ } catch (InterruptedException e) {
+ e.printStackTrace ();
+ }
}
/**

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 7 09:43:08 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>
- Fix testCrash_RequestChannel_nativeRead_AfterException test on
aarch64 and ppc64le, bsc#1195486 bsc#1193778
* fix-javahl-test.patch-
-------------------------------------------------------------------
Wed Nov 24 09:59:19 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package subversion
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2009-2010 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -65,6 +65,9 @@ Patch42: gcc10-do-not-optimize-get_externals_to_pin.patch
Patch45: disable-fs-fs-pack-test.patch
# PATCH-FIX-OPENSUSE SLE-11901
Patch46: remove-kdelibs4support-dependency.patch
# PATCH-FIX-UPSTREAM danilo.spinella@suse.com bsc#1195486 bsc#1193778
# Fix testCrash_RequestChannel_nativeRead_AfterException test on aarch64 and ppc64le
Patch47: fix-javahl-test.patch
BuildRequires: apache-rpm-macros
BuildRequires: apache2-devel >= 2.2.0
BuildRequires: apache2-prefork
@@ -245,6 +248,7 @@ parameters and keywords for the svn command and other tools.
%patch42 -p1
%patch45 -p1
%patch46 -p1
%patch47
# do not use 'env python'
sed -i -e 's#%{_bindir}/env python#%{_bindir}/python3#' subversion/tests/cmdline/*.py