public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marian Koncek <mkoncek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/postgresql-jdbc] rawhide: Re-enable disabled Auth tests
Date: Wed, 10 Jun 2026 13:29:27 GMT [thread overview]
Message-ID: <178109816797.1.147017120260672157.rpms-postgresql-jdbc-c6bda5c455fc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/postgresql-jdbc
Branch : rawhide
Commit : c6bda5c455fc6c40aafcacc1c4427c800154e1af
Author : Marian Koncek <mkoncek@redhat.com>
Date : 2026-06-10T15:23:49+02:00
Stats : +8/-7 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/postgresql-jdbc/c/c6bda5c455fc6c40aafcacc1c4427c800154e1af?branch=rawhide
Log:
Re-enable disabled Auth tests
---
diff --git a/postgresql-jdbc.spec b/postgresql-jdbc.spec
index 1e5bcb5..30388d5 100644
--- a/postgresql-jdbc.spec
+++ b/postgresql-jdbc.spec
@@ -112,13 +112,6 @@ find -type f \( -name "*.jar" -or -name "*.class" \) -delete
# remove tests that depend on the system-stubs-jupiter
grep -l -r '^import uk\.org\.webcompere\.systemstubs' src/test | xargs rm -v
-# RequireAuthTest requires specific pg_hba.conf configuration with different
-# authentication methods for different users, which is not available in mock builds
-%pom_xpath_inject 'pom:build/pom:plugins/pom:plugin[pom:artifactId="maven-surefire-plugin"]/pom:configuration' '
-<excludes>
- <exclude>**/RequireAuthTest.java</exclude>
-</excludes>'
-
# Install -tests Jar as well
%pom_xpath_inject 'pom:build/pom:plugins/pom:plugin[pom:artifactId="maven-jar-plugin"]' '
<executions>
diff --git a/postgresql_jdbc_tests_init.sh b/postgresql_jdbc_tests_init.sh
index a711672..160528c 100755
--- a/postgresql_jdbc_tests_init.sh
+++ b/postgresql_jdbc_tests_init.sh
@@ -8,6 +8,14 @@
PGTESTS_LOCALE=C.UTF-8
+mkdir -p "$PGTESTS_DATADIR"
+cat > "$PGTESTS_DATADIR/pg_hba.conf" << EOF
+# RequireAuthTest - different auth methods for different users
+host authtest nobody all trust
+host authtest pword all password
+host authtest md51 all md5
+EOF
+
function setup_build_local_properties
{
cat << EOF
reply other threads:[~2026-06-10 13:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178109816797.1.147017120260672157.rpms-postgresql-jdbc-c6bda5c455fc@fedoraproject.org \
--to=mkoncek@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox