apache / apache/shardingsphere

Support jdbc and proxy use together in e2e test.

Open
#24,365 0 comments 0 reactions 0 assignees View on GitHub
good amateur issue in: test status: volunteer wanted
Dominant language
Java
Stars
20.8k
Forks
6.9k
Avg merge
9h 55m
Merged PRs (30d)
311

Description

## Feature Request

The current test of e2e is to utilize the docker environment, and the intercommunication between different components is through the alias of the docker container. However, since the startup of JDBC is a test program that relies on E2E, it cannot rely on the alias of the container when communicating with the proxy.
This problem leads to the failure of e2e testing in some scenarios where proxy and jdbc are deployed together.

## Possible solutions
- make jdbc as a docker container.
- Let the communication between containers rely on the real ip, so that jdbc can also rely on this ip for communication

Contributor guide

Open the contributing guide

Research direction

Start by locating the e2e test setup for JDBC and proxy communication in the Docker environment. Compare the current container-alias communication with the two proposed approaches: containerizing JDBC or using real container IPs. Done means e2e scenarios with proxy and JDBC deployed together pass reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
databases, devops, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.