Temporary workaround failing plperl tests

NEED TO BE INVESTIGATED DEEPER
This commit is contained in:
Filip Janus 2023-09-25 11:08:38 +02:00
parent e2cf18a09f
commit 826b475b08
2 changed files with 29 additions and 0 deletions

23
plperl_warning.patch Normal file
View File

@ -0,0 +1,23 @@
diff -ur postgresql-15.4/src/pl/plperl/expected/plperl_call.out postgresql-patched/src/pl/plperl/expected/plperl_call.out
--- postgresql-15.4/src/pl/plperl/expected/plperl_call.out 2023-08-07 22:08:18.000000000 +0200
+++ postgresql-patched/src/pl/plperl/expected/plperl_call.out 2023-09-18 10:23:42.499078442 +0200
@@ -64,6 +64,7 @@
RAISE NOTICE '_a: %, _b: %', _a, _b;
END
$$;
+WARNING: could not determine encoding for locale "C.UTF-8": codeset is "ANSI_X3.4-1968"
NOTICE: a: 10, b:
NOTICE: _a: 10, _b: 20
DROP PROCEDURE test_proc1;
diff -ur postgresql-15.4/src/pl/plperl/expected/plperl_elog_1.out postgresql-patched/src/pl/plperl/expected/plperl_elog_1.out
--- postgresql-15.4/src/pl/plperl/expected/plperl_elog_1.out 2023-08-07 22:08:18.000000000 +0200
+++ postgresql-patched/src/pl/plperl/expected/plperl_elog_1.out 2023-09-18 10:24:39.233451395 +0200
@@ -76,6 +76,7 @@
RETURN 1;
END;
$$;
+WARNING: could not determine encoding for locale "C.UTF-8": codeset is "ANSI_X3.4-1968"
select die_caller();
NOTICE: caught die
die_caller
Only in postgresql-patched/src/pl/plperl/expected: plperl_warning.patch

View File

@ -94,6 +94,7 @@ Patch10: postgresql-datalayout-mismatch-on-s390.patch
Patch12: postgresql-no-libecpg.patch Patch12: postgresql-no-libecpg.patch
# This patch disables deprecated ciphers in the test suite # This patch disables deprecated ciphers in the test suite
Patch14: postgresql-pgcrypto-openssl3-tests.patch Patch14: postgresql-pgcrypto-openssl3-tests.patch
Patch15: plperl_warning.patch
BuildRequires: make BuildRequires: make
BuildRequires: lz4-devel BuildRequires: lz4-devel
@ -417,6 +418,7 @@ goal of accelerating analytics queries.
%patch9 -p1 %patch9 -p1
%patch10 -p1 %patch10 -p1
%patch14 -p1 %patch14 -p1
%patch15 -p1
# We used to run autoconf here, but there's no longer any real need to, # We used to run autoconf here, but there's no longer any real need to,
# since Postgres ships with a reasonably modern configure script. # since Postgres ships with a reasonably modern configure script.
@ -1241,6 +1243,10 @@ make -C postgresql-setup-%{setup_version} check
%changelog %changelog
* Mon Sep 25 2023 Filip Janus <fjanus@redhat.com> - 15.4-2
- Temporary fix plperl tests
- Add patch plperl_warning.patch
* Wed Aug 16 2023 Filip Janus <fjanus@redhat.com> - 15.4-1 * Wed Aug 16 2023 Filip Janus <fjanus@redhat.com> - 15.4-1
- Update to 15.4 - Update to 15.4