Skip to content
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

Add integration test for connecting to SQL DBs with IPv6 address in URL #4077

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

aqrln
Copy link
Member

@aqrln aqrln commented Jul 21, 2023

This PR includes the commit from #4051 (to run the full CI including Buildkite) (UPD: original PR merged) and the integration test for IPv6 URLs for the schema engine.

Adding a similar integration test in the query engine seems to be a little more involved given how its test setup works (with connection strings being built dynamically, and using domain names from docker network rather than localhost or 127.0.0.1 on CI). It's certainly possible but I'm not sure is worth the effort given that the change was purely in quaint, and affects both engines in the same way.

A test for MongoDB wasn't added as it is currently blocked by mongodb/mongo-rust-driver#916, it needs to be implemented upstream first.

@aqrln aqrln added this to the 5.1.0 milestone Jul 21, 2023
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 21, 2023

CodSpeed Performance Report

Merging #4077 will improve performances by 5.03%

Comparing integration/ipv6-with-tests (259c2f6) with main (1548dc1)

Summary

🔥 1 improvements
✅ 10 untouched benchmarks

Benchmarks breakdown

Benchmark main integration/ipv6-with-tests Change
🔥 large_read 7.7 ms 7.3 ms +5.03%

@aqrln aqrln marked this pull request as ready for review July 21, 2023 19:31
@aqrln aqrln requested a review from a team as a code owner July 21, 2023 19:31
@aqrln aqrln force-pushed the integration/ipv6-with-tests branch 2 times, most recently from 4f2d5ad to e3c036a Compare July 24, 2023 11:03
@aqrln aqrln changed the title Integration test for IPv6 change Add integration test for connecting to SQL DBs with IPv6 address in URL Jul 24, 2023
Add an integration test for connecting to SQL databases with an IPv6
address in a connection string.

This serves as a regression test for the fix for PostgreSQL and MySQL in
1548dc1, as well as confirms that this
already works on MS SQL.

Ref: #4051
Ref: prisma/prisma#18079
@aqrln aqrln force-pushed the integration/ipv6-with-tests branch from e3c036a to 259c2f6 Compare July 24, 2023 12:25
@aqrln
Copy link
Member Author

aqrln commented Jul 25, 2023

was approved in slack

@aqrln aqrln merged commit ecb5e33 into main Jul 25, 2023
@aqrln aqrln deleted the integration/ipv6-with-tests branch July 25, 2023 10:06
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