Re: Test 'testMilliSecondsNoZone' Fails when Building from Source

2016-03-11 Thread Amila Wijayarathna
Correction,
Since the PR for fixing https://issues.apache.org/jira/browse/RYA-44 has
been merged, shall we mark this jira as resolved?

Thank you!

On Sat, Mar 12, 2016 at 1:45 AM, Amila Wijayarathna <
amwijayarat...@gmail.com> wrote:

> Hi all,
> Since the PR for fixing https://issues.apache.org/jira/browse/RYA-48 has
> been merged, shall we mark this jira as resolved?
>
> On Wed, Mar 2, 2016 at 11:48 PM, Lotts, David 
> wrote:
>
>> Amila,
>>
>> Here is a guide to contributing to Rya:
>> https://cwiki.apache.org/confluence/display/RYA/Contributing+to+Rya
>>
>> > I created fix for the issue as David advised in
>> I'm not a committer, but I'll review your patch.
>> david.
>>
>
>
>
> --
>
> *Amila Wijayarathna*
> Undergraduate,
> Faculty of Information Technology,
> University of Moratuwa,
> Sri Lanka.
>



-- 

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


Re: Test 'testMilliSecondsNoZone' Fails when Building from Source

2016-02-29 Thread Josh Elser
Amila -- Please make sure you subscribe to the mailing list so that you 
receive all correspondences.


Send a message to dev-subscr...@rya.incubator.apache.org and follow the 
instructions you receive in the reply.


Thanks.

Amila Wijayarathna wrote:

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.



Test 'testMilliSecondsNoZone' Fails when Building from Source

2016-02-29 Thread Amila Wijayarathna
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.