[ 
https://issues.apache.org/jira/browse/SOLR-8184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089330#comment-15089330
 ] 

Jason Gerlowski commented on SOLR-8184:
---------------------------------------

My understanding is that a legit connection string starts with: 
{{jdbc://solr}}.  This test has the position of "solr" and "jdbc" swapped (i.e. 
{{solr:jdbc://}}).  So this connection string *will* cause an exception, even 
before the ZK host is parsed out and a connection is attempted.

If you think this isn't clear enough, I'm happy to rename the method name (I 
kept the name from the initial patch).  Or maybe assert on the exception 
message to make it clear that this isn't zk-related.

> Negative tests for JDBC Connection String
> -----------------------------------------
>
>                 Key: SOLR-8184
>                 URL: https://issues.apache.org/jira/browse/SOLR-8184
>             Project: Solr
>          Issue Type: Test
>         Environment: Trunk
>            Reporter: Susheel Kumar
>            Priority: Minor
>         Attachments: SOLR-8184.patch, SOLR-8184.patch, SOLR-8184.patch
>
>
> Ticket to track negative tests for JDBC connection string SOLR-7986



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to