phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4832) Add Canary Test Tool for Phoenix Query Server
Date Wed, 05 Dec 2018 22:11:00 GMT

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

ASF GitHub Bot commented on PHOENIX-4832:
-----------------------------------------

Github user vincentpoon commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/411#discussion_r239257148
  
    --- Diff: phoenix-core/src/test/java/org/apache/phoenix/queryserver/tool/QueryServerCanaryToolTest.java
---
    @@ -0,0 +1,140 @@
    +/*
    + * 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.queryserver.tool;
    +
    +import static org.junit.Assert.assertEquals;
    +
    +import org.junit.Before;
    +import org.junit.Test;
    +import org.mockito.Mock;
    +import org.mockito.Mockito;
    +import static org.mockito.Mockito.when;
    +import org.mockito.MockitoAnnotations;
    +import java.sql.Connection;
    +import java.sql.DatabaseMetaData;
    +import java.sql.PreparedStatement;
    +import java.sql.ResultSet;
    +import java.sql.Statement;
    +
    +public class QueryServerCanaryToolTest {
    --- End diff --
    
    Again, name and package change


> Add Canary Test Tool for Phoenix Query Server
> ---------------------------------------------
>
>                 Key: PHOENIX-4832
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4832
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Ashutosh Parekh
>            Assignee: Swaroopa Kadam
>            Priority: Minor
>         Attachments: PHOENIX-4832-4.x-HBase-1.4.patch, PHOENIX-4832.patch
>
>
> A suggested improvement is to add a Canary Test tool to the Phoenix Query Server. It
will execute a set of Basic Tests (CRUD) against a PQS end-point and report on the proper
functioning and testing results. A configurable Log Sink can help to publish the results as
required.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message