[jira] [Updated] (OAK-1564) ClockTest on Windows fails
[ https://issues.apache.org/jira/browse/OAK-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-1564: Attachment: OAK-1564.diff This patch adds a method to calculate the average granularity of System.currentTimeMillis() in 1/1000ms, invoked from main(). On my desktop, it first returned 1, but now reliably says 1000, and I don't believe I have changed anything. On my desktop, it always says ~1000. Interested parties: please test on your machines and report the results. > ClockTest on Windows fails > -- > > Key: OAK-1564 > URL: https://issues.apache.org/jira/browse/OAK-1564 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Environment: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 > NUMBER_OF_PROCESSORS=2 > OS=Windows_NT > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2e06 >Reporter: Michael Dürig >Assignee: Julian Reschke > Fix For: 0.20 > > Attachments: OAK-1564.diff > > > {{ClockTest.testClockDrift}} fails on Windows: > {noformat} > junit.framework.AssertionFailedError: unexpected drift: 26 (limit 20) > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.assertTrue(Assert.java:20) > at org.apache.jackrabbit.oak.stats.ClockTest.testClockDrift(ClockTest.java:72) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (OAK-1564) ClockTest on Windows fails
[ https://issues.apache.org/jira/browse/OAK-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-1564: Attachment: (was: OAK-1564.diff) > ClockTest on Windows fails > -- > > Key: OAK-1564 > URL: https://issues.apache.org/jira/browse/OAK-1564 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Environment: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 > NUMBER_OF_PROCESSORS=2 > OS=Windows_NT > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2e06 >Reporter: Michael Dürig >Assignee: Julian Reschke > Fix For: 0.20 > > > {{ClockTest.testClockDrift}} fails on Windows: > {noformat} > junit.framework.AssertionFailedError: unexpected drift: 26 (limit 20) > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.assertTrue(Assert.java:20) > at org.apache.jackrabbit.oak.stats.ClockTest.testClockDrift(ClockTest.java:72) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (OAK-1564) ClockTest on Windows fails
[ https://issues.apache.org/jira/browse/OAK-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke updated OAK-1564: Attachment: OAK-1564.diff > ClockTest on Windows fails > -- > > Key: OAK-1564 > URL: https://issues.apache.org/jira/browse/OAK-1564 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Environment: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 > NUMBER_OF_PROCESSORS=2 > OS=Windows_NT > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2e06 >Reporter: Michael Dürig >Assignee: Julian Reschke > Fix For: 0.20 > > > {{ClockTest.testClockDrift}} fails on Windows: > {noformat} > junit.framework.AssertionFailedError: unexpected drift: 26 (limit 20) > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.assertTrue(Assert.java:20) > at org.apache.jackrabbit.oak.stats.ClockTest.testClockDrift(ClockTest.java:72) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (OAK-1564) ClockTest on Windows fails
[ https://issues.apache.org/jira/browse/OAK-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Marth updated OAK-1564: --- Assignee: Julian Reschke > ClockTest on Windows fails > -- > > Key: OAK-1564 > URL: https://issues.apache.org/jira/browse/OAK-1564 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Environment: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 > NUMBER_OF_PROCESSORS=2 > OS=Windows_NT > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2e06 >Reporter: Michael Dürig >Assignee: Julian Reschke > Fix For: 0.20 > > > {{ClockTest.testClockDrift}} fails on Windows: > {noformat} > junit.framework.AssertionFailedError: unexpected drift: 26 (limit 20) > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.assertTrue(Assert.java:20) > at org.apache.jackrabbit.oak.stats.ClockTest.testClockDrift(ClockTest.java:72) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (OAK-1564) ClockTest on Windows fails
[ https://issues.apache.org/jira/browse/OAK-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig updated OAK-1564: --- Environment: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 NUMBER_OF_PROCESSORS=2 OS=Windows_NT PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=2e06 was: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 NUMBER_OF_PROCESSORS=2 OS=Windows_NT PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=2e06 > ClockTest on Windows fails > -- > > Key: OAK-1564 > URL: https://issues.apache.org/jira/browse/OAK-1564 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Environment: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 > NUMBER_OF_PROCESSORS=2 > OS=Windows_NT > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2e06 >Reporter: Michael Dürig > Fix For: 0.20 > > > {{ClockTest.testClockDrift}} fails on Windows: > {noformat} > junit.framework.AssertionFailedError: unexpected drift: 26 (limit 20) > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.assertTrue(Assert.java:20) > at org.apache.jackrabbit.oak.stats.ClockTest.testClockDrift(ClockTest.java:72) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (OAK-1564) ClockTest on Windows fails
[ https://issues.apache.org/jira/browse/OAK-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig updated OAK-1564: --- Summary: ClockTest on Windows fails (was: ClockTest on Windows) > ClockTest on Windows fails > -- > > Key: OAK-1564 > URL: https://issues.apache.org/jira/browse/OAK-1564 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core > Environment: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 > NUMBER_OF_PROCESSORS=2 > OS=Windows_NT > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 46 Stepping 6, GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=2e06 >Reporter: Michael Dürig > Fix For: 0.20 > > > {{ClockTest.testClockDrift}} fails on Windows: > {noformat} > junit.framework.AssertionFailedError: unexpected drift: 26 (limit 20) > at junit.framework.Assert.fail(Assert.java:50) > at junit.framework.Assert.assertTrue(Assert.java:20) > at org.apache.jackrabbit.oak.stats.ClockTest.testClockDrift(ClockTest.java:72) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)