[ https://issues.apache.org/jira/browse/HIVE-15535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961120#comment-15961120 ]
Barna Zsombor Klara commented on HIVE-15535: -------------------------------------------- [~stakiar] yes... because I'm an idiot... I wrote an regexp that matches the string on the error message to replace it... including the square bracket characters added for the diff by junit which of course are not in the original string. I will fix it. > Flaky test : TestHS2HttpServer.testContextRootUrlRewrite > -------------------------------------------------------- > > Key: HIVE-15535 > URL: https://issues.apache.org/jira/browse/HIVE-15535 > Project: Hive > Issue Type: Sub-task > Reporter: Sushanth Sowmyan > Assignee: Barna Zsombor Klara > Fix For: 2.2.0 > > Attachments: HIVE-15535.01.patch > > > Per recent test failure : > https://builds.apache.org/job/PreCommit-HIVE-Build/2766/testReport/org.apache.hive.service.server/TestHS2HttpServer/testContextRootUrlRewrite/ > {noformat} > Stacktrace > org.junit.ComparisonFailure: > expected:<...d>Tue Jan 03 11:54:4[6] PST 2017</td> > ...> but was:<...d>Tue Jan 03 11:54:4[7] PST 2017</td> > ...> > at org.junit.Assert.assertEquals(Assert.java:115) > at org.junit.Assert.assertEquals(Assert.java:144) > at > org.apache.hive.service.server.TestHS2HttpServer.testContextRootUrlRewrite(TestHS2HttpServer.java:99) > {noformat} > Looks like it is overly picky on an exact string match on a field that > contains a second difference. -- This message was sent by Atlassian JIRA (v6.3.15#6346)