Simon Mottram created PHOENIX-6666:
--------------------------------------
Summary: testAncientDatesWithJavaTime Test fails building Phoenix
Key: PHOENIX-6666
URL: https://issues.apache.org/jira/browse/PHOENIX-6666
Project: Phoenix
Issue Type: Bug
Affects Versions: 5.2.0
Environment: JDK 11 on Ubuntu.
{color:#d4d4d4}
{color}{color:#808080}<{color}{color:#569cd6}groupId{color}{color:#808080}>{color}{color:#d4d4d4}org.apache.phoenix{color}{color:#808080}</{color}{color:#569cd6}groupId{color}{color:#808080}>{color}
{color:#d4d4d4}
{color}{color:#808080}<{color}{color:#569cd6}artifactId{color}{color:#808080}>{color}{color:#d4d4d4}phoenix{color}{color:#808080}</{color}{color:#569cd6}artifactId{color}{color:#808080}>{color}
{color:#d4d4d4}
{color}{color:#808080}<{color}{color:#569cd6}version{color}{color:#808080}>{color}{color:#d4d4d4}5.2.0-SNAPSHOT{color}{color:#808080}</{color}{color:#569cd6}version{color}{color:#808080}>{color}
{color:#d4d4d4}
{color}{color:#808080}<{color}{color:#569cd6}packaging{color}{color:#808080}>{color}{color:#d4d4d4}pom{color}{color:#808080}</{color}{color:#569cd6}packaging{color}{color:#808080}>{color}
{color:#d4d4d4}
{color}{color:#808080}<{color}{color:#569cd6}name{color}{color:#808080}>{color}{color:#d4d4d4}Apache
Phoenix{color}{color:#808080}</{color}{color:#569cd6}name{color}{color:#808080}>{color}
{color:#d4d4d4}
{color}{color:#808080}<{color}{color:#569cd6}description{color}{color:#808080}>{color}{color:#d4d4d4}A
SQL layer over
HBase{color}{color:#808080}</{color}{color:#569cd6}description{color}{color:#808080}>{color}
Reporter: Simon Mottram
A test fails when running locally. I posted about it on users list and Istvan
Toth thought it may be due to a time zone / DST issue. I am Pacific/Auckland.
[INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test
(ParallelStatsDisabledTest) @ phoenix-core ---
[ERROR] Tests run: 61, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
348.428 s <<< FAILURE! - in org.apache.phoenix.end2end.DateTimeIT
[ERROR] org.apache.phoenix.end2end.DateTimeIT.testAncientDatesWithJavaTime
Time elapsed: 9.002 s <<< FAILURE!
java.lang.AssertionError: expected:<10> but was:<9>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at
org.apache.phoenix.end2end.DateTimeIT.testAncientDatesWithJavaTime(DateTimeIT.java:2147)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.apache.phoenix.SystemExitRule$1.evaluate(SystemExitRule.java:40)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeLazy(JUnitCoreWrapper.java:119)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:87)
at
org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
at
org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:157)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)