-
Notifications
You must be signed in to change notification settings - Fork 72
sni_proxy: honor the --sni-port command line argument #468
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
Conversation
7067a04
to
4d000b7
Compare
seems like commit 4d61471 has changed the output of the bundles and they are default to port 9142 that the nodes are using, and not to the port used by the sni_proxy basiclly bypassing the sni_proxy, which broke some of the java-driver tests (python-driver tests aren't broke, since it's not using the command line) Ref: scylladb/java-driver#221
4d000b7
to
201f106
Compare
this would help fix some issue with the selection of data to diffrent parts of the sni_proxy impemention with out need to parse it again and again by positions
those seemed to be breaking every time it was changed and we don't have any test covering them until now.
since we can't pass a cloudbundle and adddress/port to cqlsh we should add those if the user is passing `--cloudconf` in `cqlsh_options`. this would enable use to write tests, and also write dtest covering this.
@Gor027 @Bouncheck can you review, and give it a try on the drivers tests ? to see it doesn't break ? I'll test it on the python-driver |
I have run GitHub Actions test workflows of Java driver
|
@Gor027
version 2022.2.7 doesn't exists, I think it was retracted, use 2022.2.6, until 2022.2.8 would be released |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it with the Rust driver, too. If it is also tested with Python driver, I think it is good to be merged. Also, we should update the CI matrix Scylla and Cassandra versions in Java driver as some versions might not be available anymore. @avelanarius
seems like commit 4d61471 has changed the output of the bundles and they are default to port 9142 that the nodes are using, and not to the port used by the sni_proxy basiclly bypassing the sni_proxy, which broke some of the java-driver tests (python-driver tests aren't broke, since it's not using the command line)
Fixes: scylladb/java-driver#221