public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/postgresql-jdbc] rawhide: Re-enable disabled Auth tests
@ 2026-06-10 13:29 Marian Koncek
0 siblings, 0 replies; only message in thread
From: Marian Koncek @ 2026-06-10 13:29 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 13:29 [rpms/postgresql-jdbc] rawhide: Re-enable disabled Auth tests Marian Koncek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox