Gyeongtae Park created ZEPPELIN-6196:
----------------------------------------

             Summary: Improve and Add Unit Tests for Elasticsearch Client and 
Action Layer
                 Key: ZEPPELIN-6196
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-6196
             Project: Zeppelin
          Issue Type: Task
            Reporter: Gyeongtae Park
            Assignee: Gyeongtae Park
             Fix For: 1.0.0, 0.12.1, 0.13.0


h4. Summary

This issue introduces improvements to existing unit tests and adds new test 
coverage for the Elasticsearch module in Apache Zeppelin.
h4. Changes
 * *Improved Test Suites*

 ** Refactored {{ElasticsearchClientTypeTest.java}} and 
{{ElasticsearchClientTypeBuilderTest.java}} for better readability, structure, 
and assertion clarity.

 ** Added meaningful {{@DisplayName}} annotations and cleaned up duplication.

 * *New Test Classes*

 ** Added {{AggWrapperTest.java}} to verify the correct construction and 
behavior of aggregation wrappers.

 ** Added {{HitWrapperTest.java}} to test source parsing, JSON extraction, and 
error handling in {{{}HitWrapper{}}}.

h4. Motivation

Improving and expanding test coverage in core client and response wrapper 
classes ensures higher reliability, better maintainability, and helps future 
contributors safely refactor the code.
h4. Impacted Module
 * {{zeppelin-elasticsearch}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to