drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [drill] cgivre commented on pull request #2112: DRILL-7534: Convert HTTPD Format Plugin to EVF
Date Wed, 18 Nov 2020 13:26:00 GMT

cgivre commented on pull request #2112:
URL: https://github.com/apache/drill/pull/2112#issuecomment-729675772


   > Cool! Yes I agree having the useragent part as a separate addition later on.
   > 
   > I wanted to try to make a junit test with different config settings (like having multiple
logformats).
   > How do I do that for a junit test?
   
   @nielsbasjes 
   I updated the parser library to use version 5.6.  Thanks for the bug fixes.  As for your
original question, take a look here:
   
   https://github.com/apache/drill/blob/31d6086c4f814c1d7fc476095611e37cc3d95d1c/contrib/format-syslog/src/test/java/org/apache/drill/exec/store/syslog/TestSyslogFormat.java#L45-L60
   
   This snippet demonstrates how to set up different configs for testing.  What I did in that
case was define different extensions `syslog` and `syslog1` for different configs.  In real
life this would be done with different workspaces, however, this works for testing. 
   


----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message