-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to using smart driver for yb-pgsql unit tests #9788
Labels
area/ecosystem
Label for all ecosystem related projects
Comments
kneeraj
added a commit
that referenced
this issue
Oct 26, 2021
…nit tests Summary: Currently the yb-pgsql test uses the upstream PostgreSQL driver version 42.2.5. Changing it to use the latest 'beta' version of the jdbc-yugabytedb version which is 42.3.0-beta.1. The mvn dependency is: ``` <dependency> <groupId>com.yugabyte</groupId> <artifactId>jdbc-yugabytedb</artifactId> <version>42.3.0-beta.1</version> </dependency> ``` Please note the upstream version is pgjdbc 42.3.0. Additionally the unit tests for load balance has been augmented to test whether the load is close to evenly distributed when multiple connections are being created concurrently. This test also uses the exact port of servers for connectivity rather than hard code value of '5433' used earlier. This is corresponding to the change done in commit revision c4308a8 Test Plan: The testLoadBalance unit test is augmented to take care of the above mentioned changes. The entire unit test was run locally against the new version and they ran fine. Reviewers: zyu, mihnea Reviewed By: zyu, mihnea Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D12689
It is done in rd9b0de9665eea2b64b88a87826a9f3ed03a10b77 |
This was referenced Nov 8, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ysql unit tests, 'yb-pgsql' tests use the standard postgres jdbc driver for running the unit tests. It should be changed to use the new YugabyteDB smart driver which is an enhancement over the standard postgres jdbc client driver.
The text was updated successfully, but these errors were encountered: