dbeaver/pro#9991 Support PostgreSQL in CloudBeaver platform tests - #4646
dgr-dbeaver wants to merge 15 commits into
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 100 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…s-for-cloudbeaver-platform-tests
…s-for-cloudbeaver-platform-tests
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6e9a6df6b5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| POSTGRES_USER: cloudbeaver_test | ||
| POSTGRES_PASSWORD: cloudbeaver_test | ||
| ports: | ||
| - target: 5432 |
There was a problem hiding this comment.
Default the PostgreSQL binding to an ephemeral port
When port 5432 is already occupied—such as by a developer's local PostgreSQL instance—or two launchers run concurrently, compose up --detach postgres in test-postgres-datasource.sh fails before the tests start. The randomized Compose project name does not isolate a fixed host port. Default the published port to an ephemeral port while retaining the environment-variable override; the script already discovers the selected port with compose port.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Port 5432 is intentionally used as the default for predictable local and IDE runs. Port conflicts and concurrent executions are supported through the CLOUDBEAVER_TEST_POSTGRES_PORT override, as documented in dbeaver/pro#9991. The randomized Compose project name isolates container resources, while host port selection remains explicit.
…s-for-cloudbeaver-platform-tests # Conflicts: # server/test/io.cloudbeaver.test.platform/src/io/cloudbeaver/test/platform/util/GraphQLTestClientWrapper.java
Closes dbeaver/pro#9991
Summary
Testing
mvn verify --file server/product/aggregate/pom.xml --define headless-platformgit diff --checkverifiedRelated PR
This PR was generated with AI assistance.