Comments (10)
I suggest that dbdpg_test_setup.pl
's get_test_settings()
could do $testdir = File::Temp::tempdir(DIR => $ENV{DBDPG_TESTDIR})
if that environment variable is set.
from dbdpg.
Right you are, I'll update my installation scripts :)
from dbdpg.
Good idea @ilmari I tweaked a little to make it DBDPG_TEMPDIR so the caller can just set /tmp and not worry about XXXX placeholders. See 0fab27e
from dbdpg.
Will this be in the next release?
from dbdpg.
Any chance of getting a release pushed out with this in it soon?
from dbdpg.
Is this issue resolved in the 3.15.1 release? If so, please close.
from dbdpg.
from the diff https://metacpan.org/release/TURNSTEP/DBD-Pg-3.15.1/diff/TURNSTEP%2FDBD-Pg-3.15.0#t/dbdpg_test_setup.pl it looks fixed enough
from dbdpg.
Thanks, will close this now. Please feel free to re-open if needed.
from dbdpg.
I just experienced the same issue:
Manifying 2 pod documents
"/usr/local/Cellar/perl/5.38.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/DBD/Pg/Pg.bs 644
PGINITDB="/usr/local/Cellar/postgresql@14/14.9/bin/initdb" PERL_DL_NONLAZY=1 "/usr/local/Cellar/perl/5.38.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_signature.t ....... skipped: Set the environment variable TEST_SIGNATURE to enable this test
t/00basic.t ............ ok
Please wait, creating new database (version 14.9) for testing
pg_ctl: could not start server
Examine the log output.
#
# DBI Version 1.643
# DBD::Pg Version 3.17.0
# Perl Version 5.38.0
# OS darwin
# PostgreSQL (compiled) ?
# PostgreSQL (target) ?
# PostgreSQL (reported) ?
# Default port ?
# DBI_DSN ?
# DBI_USER <not set>
# Test schema dbd_pg_testschema
# LANG C
# Adjusted: initdb
# Error was: Unix-domain socket path "/Users/erezschatz/.cpanm/work/1696228600.62264/DBD-Pg-3.17.0/dbdpg_test_database/data/socket/.s.PGSQL.5440" is too long (maximum 103 bytes) at t/dbdpg_test_setup.pl line 608.
Bailout called. Further testing stopped: Cannot continue: connection failed
t/01connect.t .......... skipped: Connection to database failed, cannot continue testing
FAILED--Further testing stopped: Cannot continue: connection failed
make: *** [test_dynamic] Error 255
-> FAIL Installing DBD::Pg failed. See /Users/erezschatz/.cpanm/work/1696228600.62264/build.log for details. Retry with --force to force install it.```
from dbdpg.
@erezschatz wrote:
I just experienced the same issue:
It doesn't look like you set the DBDPG_TEMPDIR
environment variable?
from dbdpg.
Related Issues (20)
- Value trimmed upon insert HOT 4
- Tests fail if root's shell is not a Bourne shell HOT 6
- Statement handle DESTROY slurps pending async queries
- Tests fail to start new DB: pg_ctl: unrecognized operation mode HOT 4
- DBD::Pg 3.16.0 tests fail HOT 11
- Dying with non-ASCII utf8 DB message, with use warnings FATAL => 'all'; leads to "Wide character in subroutine entry" error message with DB-message omitted HOT 6
- Old postgresql client has trouble with new DBD::Pg versions due to bug in old postgresql client libraries HOT 3
- Error building DBD::Pg on macOS Monterey HOT 5
- META.yaml should be META.yml HOT 4
- DBD::Pg builds are failing to produce MYMETA.json files HOT 3
- Simple select of jsonb field returning empty result when field is NULL HOT 6
- Change in result type of EXTRACT() with Pg14 upwards not handled HOT 1
- MERGE INTO statement handles not returning total count of rows affected HOT 2
- Can't load Pg.so on Ubuntu 20.04 and Postgres 8.3.5 - tries to use lo_import_with_oid HOT 1
- $dbh->ping documentation possibly not clear HOT 4
- failed to build in openwrt HOT 3
- Cannot detect the default value for a `generated always as identity` column HOT 3
- v5.40's builtin false keyword cannot be passed in a bind parameter as the value of a boolean field HOT 9
- Hanging execution of queries like "COPY TO STDIN" in asynchronous mode. HOT 2
- t/03smethod.t fails with DBI v1.641 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbdpg.