Skip to content

[#235] test_pg_ctl_wait_option detects a port conflict#257

Merged
dmitry-lipetsk merged 2 commits intopostgrespro:masterfrom
dmitry-lipetsk:master-fix235--v000
May 7, 2025
Merged

[#235] test_pg_ctl_wait_option detects a port conflict#257
dmitry-lipetsk merged 2 commits intopostgrespro:masterfrom
dmitry-lipetsk:master-fix235--v000

Conversation

@dmitry-lipetsk
Copy link
Collaborator

This commit must fix a problem in test_pg_ctl_wait_option when his PostgreSQL instance conflicts with another one.

For this, we added two new things:

  • PostgresNodeLogReader
  • PostgresNodeUtils

PostgresNodeLogReader reads server logs.

PostgresNodeUtils provides an utility to detect a port conflict.

PostgresNode::start also uses these new classes.

This commit must fix a problem in test_pg_ctl_wait_option when his PostgreSQL instance conflicts with another one.

For this, we added two new things:
 - PostgresNodeLogReader
 - PostgresNodeUtils

PostgresNodeLogReader reads server logs.

PostgresNodeUtils provides an utility to detect a port conflict.

PostgresNode::start also uses these new classes.
@dmitry-lipetsk dmitry-lipetsk merged commit 3bb59c6 into postgrespro:master May 7, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant