[
https://issues.apache.org/jira/browse/HBASE-25668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302937#comment-17302937
]
Michael Stack commented on HBASE-25668:
---------------------------------------
This is what messes up the unit test when run over on the apache test machine:
2021-03-16 21:47:39,352 INFO [Time-limited test]
compactions.TestCurrentHourProvider(68):
Timezone=sun.util.calendar.ZoneInfo[id="America/Dawson",offset=-25200000,dstSavings=0,useDaylight=false,transitions=94,lastRule=null]
java.lang.AssertionError:
Timezone=sun.util.calendar.ZoneInfo[id="America/Dawson",offset=-25200000,dstSavings=0,useDaylight=false,transitions=94,lastRule=null]
expected:<11> but was:<10>
at
org.apache.hadoop.hbase.regionserver.compactions.TestCurrentHourProvider.testWithEnvironmentEdge(TestCurrentHourProvider.java:69)
When it succeeds, it is like this:
2021-03-16 14:40:40,580 INFO [Time-limited test]
compactions.TestCurrentHourProvider(68):
Timezone=sun.util.calendar.ZoneInfo[id="America/Dawson",offset=-28800000,dstSavings=3600000,useDaylight=true,
transitions=127,lastRule=java.util.SimpleTimeZone[id=America/Dawson,offset=-28800000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,
startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]]
The JVMs are saying different things about the America/Dawson timezone. One is
linux and other is mac.
> TestCurrentHourProvider fails 100% in branch-2.3
> ------------------------------------------------
>
> Key: HBASE-25668
> URL: https://issues.apache.org/jira/browse/HBASE-25668
> Project: HBase
> Issue Type: Sub-task
> Components: flakies
> Affects Versions: 2.3.4
> Reporter: Michael Stack
> Assignee: Michael Stack
> Priority: Minor
> Fix For: 2.3.5
>
> Attachments: image-2021-03-16-13-34-29-412.png
>
>
> !image-2021-03-16-13-34-29-412.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)