You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by Christofer Dutz <ch...@c-ware.de> on 2019/01/18 14:19:34 UTC

Time-Zone sensitive tests?

Hi,

I’m getting these test errors when trying to build the current version:

[ERROR] Failures:
[ERROR]   DatetimeUtilsTest.testConvertDatetimeStrToLongWithMS:106 expected:<1546413207689> but was:<1546438407689>
[ERROR]   DatetimeUtilsTest.testConvertDatetimeStrToLongWithoutMS:83 expected:<1546413207000> but was:<1546438407000>

So it seems that this is caused by some Time-Zone sensitive tests. I think we had a few a few weeks ago and the issue was resolved.

Chris

Re: Time-Zone sensitive tests?

Posted by 徐毅 <xu...@126.com>.
Hi,


I create a pull request to fix this problem. I'am sorry that I didn't test in different regions in last modification. Now it will work in every region around the world.


Thanks
Xu Yi


On 1/18/2019 16:32,徐毅<xu...@126.com> wrote:
Hi


It seem to be a bug,wait a moment. I'll fix the problem right away.


Thanks
Xu Yi


| |
徐毅
|
|
xuyithuss@126.com
|
签名由网易邮箱大师定制
On 1/18/2019 15:19,Christofer Dutz<ch...@c-ware.de> wrote:
Hi,

I’m getting these test errors when trying to build the current version:

[ERROR] Failures:
[ERROR]   DatetimeUtilsTest.testConvertDatetimeStrToLongWithMS:106 expected:<1546413207689> but was:<1546438407689>
[ERROR]   DatetimeUtilsTest.testConvertDatetimeStrToLongWithoutMS:83 expected:<1546413207000> but was:<1546438407000>

So it seems that this is caused by some Time-Zone sensitive tests. I think we had a few a few weeks ago and the issue was resolved.

Chris

Re: Time-Zone sensitive tests?

Posted by 徐毅 <xu...@126.com>.
Hi


It seem to be a bug,wait a moment. I'll fix the problem right away.


Thanks
Xu Yi


| |
徐毅
|
|
xuyithuss@126.com
|
签名由网易邮箱大师定制
On 1/18/2019 15:19,Christofer Dutz<ch...@c-ware.de> wrote:
Hi,

I’m getting these test errors when trying to build the current version:

[ERROR] Failures:
[ERROR]   DatetimeUtilsTest.testConvertDatetimeStrToLongWithMS:106 expected:<1546413207689> but was:<1546438407689>
[ERROR]   DatetimeUtilsTest.testConvertDatetimeStrToLongWithoutMS:83 expected:<1546413207000> but was:<1546438407000>

So it seems that this is caused by some Time-Zone sensitive tests. I think we had a few a few weeks ago and the issue was resolved.

Chris