Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.27.0
Description
Depending on the user timezone, the test fails because the value of the timestamp field is not the expected one.
For instance, the following command:
./gradlew :cassandra:test --tests "org.apache.calcite.test.CassandraAdapterDataTypesTest.testCollectionsInnerValues" -Pguava.version=25.0-jre -Duser.timezone=GMT
causes the following test failure:
java.lang.AssertionError: Expected: is "EXPR$0=1; EXPR$1=v1; 1=3000000000; 2=30ff87; 3=2015-05-03 11:30:54\n" but: was "EXPR$0=1; EXPR$1=v1; 1=3000000000; 2=30ff87; 3=2015-05-03 13:30:54\n"
The issue is not present for guava versions >= 26.0-jre.
Attachments
Issue Links
- split from
-
CALCITE-4789 Build is broken on Guava versions < 21
- Closed
- links to