Hi all,

I am trying to build Apache Rya source available at [1]. I could
successfully built the source by running without tests using "mvn clean
install -Dmaven.test.skip=true". But when I am running the source with
tests using "mvn clean install", I am getting test failure at [2].

It seems like in the test 'testMilliSecondsNoZone', it pass
'2002-02-02T02:02:02.222' to serializeAndDeserialize method, but it returns
'2002-02-01T02:02:02.222' after deserialising and it causes the test to
fail.

Is this a know issue or am I getting this due to some incompatibility in my
environment?

Any idea on this is thoroughly appreciated.

[1]. https://github.com/apache/incubator-rya
[2].
testMilliSecondsNoZone(mvm.rya.api.resolver.impl.DateTimeRyaTypeResolverTest)
 Time elapsed: 0.051 sec  <<< FAILURE!
java.lang.AssertionError: Before='2002-02-02T02:02:02.222'; Expected should
match actual regex after='2002-02-02T\d\d:\d\d:02\.222Z'
deserialized:2002-02-01T20:02:02.222Z
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at
mvm.rya.api.resolver.impl.DateTimeRyaTypeResolverTest.testMilliSecondsNoZone(DateTimeRyaTypeResolverTest.java:116)

Thank You!

*Amila Wijayarathna,*
undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Reply via email to