MaxGekk opened a new pull request #27166: [SPARK-30482][SQL][CORE][TESTS] Add 
sub-class of `AppenderSkeleton` reusable in tests
URL: https://github.com/apache/spark/pull/27166
 
 
   ### What changes were proposed in this pull request?
   In the PR, I propose to define a sub-class of `AppenderSkeleton` in 
`SparkFunSuite` and reuse it from other tests. The class stores incoming 
`LoggingEvent` in an array which is available to tests for future analysis of 
logged events.
   
   ### Why are the changes needed?
   This eliminates code duplication in tests.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   By existing test suites - `CSVSuite`, `OptimizerLoggingSuite`, 
`JoinHintSuite`, `CodeGenerationSuite` and `SQLConfSuite`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to