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

Hitesh Shah commented on TEZ-3384:
----------------------------------

The main aim of the test was to have dags go into separate groups so it might 
be better to try the following:
   - dag1 - use 1 as id
   - dag2 - use numDagsPerGroup
   - dag3 - use numDagsPerGroup + 1



> Fix testDAGGroupingGroupingEnabled unit test 
> ---------------------------------------------
>
>                 Key: TEZ-3384
>                 URL: https://issues.apache.org/jira/browse/TEZ-3384
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sushmitha Sreenivasan
>            Assignee: Sushmitha Sreenivasan
>         Attachments: TEZ-3384.1.patch
>
>
> testDAGGroupingGroupingEnabled fails with the below stacktrace: 
> Running org.apache.tez.dag.history.logging.ats.TestATSV15HistoryLoggingService
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.673 sec <<< 
> FAILURE!
> testDAGGroupingGroupingEnabled(org.apache.tez.dag.history.logging.ats.TestATSV15HistoryLoggingService)
>   Time elapsed: 1.741 sec  <<< FAILURE!
> java.lang.AssertionError: Values should be different. Actual: 
> daggroup_1000_0001_0
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failEquals(Assert.java:185)
>       at org.junit.Assert.assertNotEquals(Assert.java:161)
>       at org.junit.Assert.assertNotEquals(Assert.java:175)
>       at 
> org.apache.tez.dag.history.logging.ats.TestATSV15HistoryLoggingService.testDAGGroupingGroupingEnabled(TestATSV15HistoryLoggingService.java:145)
> cc: [~harishjp] Can you please review? Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to