Skip to content

[BUG FIX] A problem with socket directory is fixed #180

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

dmitry-lipetsk
Copy link
Collaborator

On non-Windows platform PostgreSQL always looks for socket files in "/tmp" directory.

Plus

  • A problem with tests.test_simple.TestgresTests.test_simple_with_bin_dir is fixed.

On non-Windows platform Postgres always looks for socket files in "/tmp" directory.
…ir is fixed

testgres generates the exception testgres.exceptions.ExecUtilException, but test traps the exception FileNotFoundError.

Error message is:
 Utility exited with non-zero code. Error: `bash: line 1: wrong/path/postgres: No such file or directory`
 Command: ('wrong/path/postgres --version',)
@dmitry-lipetsk
Copy link
Collaborator Author

This PR fixes the problems with probackup2 tests on altlinux (10).

Result files were attached to PBCKP-1722.

@dmitry-lipetsk dmitry-lipetsk merged commit bb3d09b into postgrespro:master Feb 17, 2025
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants