You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/12 16:14:00 UTC

[jira] [Commented] (DRILL-7859) Junit test random failure when the numbers of splunk event was insufficient

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

ASF GitHub Bot commented on DRILL-7859:
---------------------------------------

luocooong opened a new pull request #2167:
URL: https://github.com/apache/drill/pull/2167


   # [DRILL-7859](https://issues.apache.org/jira/browse/DRILL-7859): Junit test random failure when the numbers of splunk event was insufficient
   
   ## Description
     Since the use of `@Ignore` does not prevent the test failure(unless all are ignored), so increase the time to ready more Splunk events.
   
   ## Documentation
     There are no changes visible to the user.
   
   ## Testing
     Ran unit tests associated with the Splunk plugin.
   


----------------------------------------------------------------
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


> Junit test random failure when the numbers of splunk event was insufficient
> ---------------------------------------------------------------------------
>
>                 Key: DRILL-7859
>                 URL: https://issues.apache.org/jira/browse/DRILL-7859
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Cong Luo
>            Assignee: Cong Luo
>            Priority: Major
>             Fix For: 1.19.0
>
>
> Used @Ignore in Splunk UT to try to skip the data inconsistent, but it's possible that the numbers of events in Splunk was still insufficient after the docker started.
> {code:java}
> java.lang.AssertionError: expected:<2> but was:<1>java.lang.AssertionError: expected:<2> but was:<1> at org.apache.drill.exec.store.splunk.SplunkPluginTest.testExplictFieldsQuery(SplunkPluginTest.java:151)
> {code}
> See also [Activities that generate audit events|https://docs.splunk.com/Documentation/Splunk/8.1.0/Security/AuditSplunkactivity]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)