tkhurana commented on code in PR #2378:
URL: https://github.com/apache/phoenix/pull/2378#discussion_r2854553114


##########
phoenix-core/src/test/java/org/apache/phoenix/jdbc/HighAvailabilityGroupTest.java:
##########
@@ -0,0 +1,126 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.jdbc;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNull;
+
+import java.sql.SQLException;
+import java.util.Properties;
+import org.apache.phoenix.exception.SQLExceptionCode;
+import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class HighAvailabilityGroupTest {
+  private static final Logger LOG = 
LoggerFactory.getLogger(FailoverPhoenixConnectionTest.class);
+  String quorum1 = "master1\\\\:60010,master2\\\\:60000,master3\\\\:60010";
+  String quorum2 = 
"peer_master1\\\\:60010,peer_master2\\\\:60000,peer_master3\\\\:60010";
+
+  @Test
+  public void testGetUrlInfo() throws Exception {

Review Comment:
   Can you write a test that we can also create a tenant connection with the HA 
url by passing the tenant id in the jdbc string.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to