You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Jinfeng Ni <ji...@gmail.com> on 2014/11/14 19:29:41 UTC

JdbcTest unit test case failed on Calcite master branch?

Hi,

I'm building calcite with apache calcite master branch (commit: e3b5aa1).
However, when I run full maven build, one junit test case failed. Is there
something I missed? that's known issue? Thanks!

-----------

Results :

Failed tests:
  JdbcTest.testVersion:765 expected:<0> but was:<1>

Tests run: 1717, Failures: 1, Errors: 0, Skipped: 76

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Calcite ........................................... SUCCESS [  3.805
s]
[INFO] Calcite Avatica ................................... SUCCESS [  6.724
s]
[INFO] Calcite Core ...................................... FAILURE [02:15
min]
[INFO] Calcite MongoDB ................................... SKIPPED

adminisorsmbp53:optiq jni$ git log
commit *e3b5aa1be3fcfd899a1a438321a8670b2bba23a9*
Author: Julian Hyde <jh...@apache.org>
*Date:   Wed Nov 5 16:43:23 2014 -0800*

    [maven-release-plugin] prepare for next development iteration

commit 0404fd236ec78e7f83e047972b190cbc7d4fad6a
Author: Julian Hyde <jh...@apache.org>
Date:   Wed Nov 5 16:41:50 2014 -0800

Re: JdbcTest unit test case failed on Calcite master branch?

Posted by Julian Hyde <ju...@gmail.com>.
FYI, this bug is fixed in https://github.com/apache/incubator-calcite/commit/ea152c61006186c0107dfbc456dc8f6ba69426ac, which is now in master.

> On Nov 14, 2014, at 12:19 PM, Julian Hyde <ju...@hydromatic.net> wrote:
> 
> The test does a sanity check on the version. The maven release plugin bumped the version to 1.0.0-SNAPSHOT immediately after the release, and so caused this test failure.
> 
> This error is minor; you can safely ignore it; I have fixed in a commit I am just about to push; and it does not affect the release. 
> 
> Julian
> 
>> On Nov 14, 2014, at 10:29, Jinfeng Ni <ji...@gmail.com> wrote:
>> 
>> Hi,
>> 
>> I'm building calcite with apache calcite master branch (commit: e3b5aa1).
>> However, when I run full maven build, one junit test case failed. Is there
>> something I missed? that's known issue? Thanks!
>> 
>> -----------
>> 
>> Results :
>> 
>> Failed tests:
>> JdbcTest.testVersion:765 expected:<0> but was:<1>
>> 
>> Tests run: 1717, Failures: 1, Errors: 0, Skipped: 76
>> 
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Calcite ........................................... SUCCESS [  3.805
>> s]
>> [INFO] Calcite Avatica ................................... SUCCESS [  6.724
>> s]
>> [INFO] Calcite Core ...................................... FAILURE [02:15
>> min]
>> [INFO] Calcite MongoDB ................................... SKIPPED
>> 
>> adminisorsmbp53:optiq jni$ git log
>> commit *e3b5aa1be3fcfd899a1a438321a8670b2bba23a9*
>> Author: Julian Hyde <jh...@apache.org>
>> *Date:   Wed Nov 5 16:43:23 2014 -0800*
>> 
>>   [maven-release-plugin] prepare for next development iteration
>> 
>> commit 0404fd236ec78e7f83e047972b190cbc7d4fad6a
>> Author: Julian Hyde <jh...@apache.org>
>> Date:   Wed Nov 5 16:41:50 2014 -0800


Re: JdbcTest unit test case failed on Calcite master branch?

Posted by Julian Hyde <ju...@hydromatic.net>.
The test does a sanity check on the version. The maven release plugin bumped the version to 1.0.0-SNAPSHOT immediately after the release, and so caused this test failure.

This error is minor; you can safely ignore it; I have fixed in a commit I am just about to push; and it does not affect the release. 

Julian

> On Nov 14, 2014, at 10:29, Jinfeng Ni <ji...@gmail.com> wrote:
> 
> Hi,
> 
> I'm building calcite with apache calcite master branch (commit: e3b5aa1).
> However, when I run full maven build, one junit test case failed. Is there
> something I missed? that's known issue? Thanks!
> 
> -----------
> 
> Results :
> 
> Failed tests:
>  JdbcTest.testVersion:765 expected:<0> but was:<1>
> 
> Tests run: 1717, Failures: 1, Errors: 0, Skipped: 76
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Calcite ........................................... SUCCESS [  3.805
> s]
> [INFO] Calcite Avatica ................................... SUCCESS [  6.724
> s]
> [INFO] Calcite Core ...................................... FAILURE [02:15
> min]
> [INFO] Calcite MongoDB ................................... SKIPPED
> 
> adminisorsmbp53:optiq jni$ git log
> commit *e3b5aa1be3fcfd899a1a438321a8670b2bba23a9*
> Author: Julian Hyde <jh...@apache.org>
> *Date:   Wed Nov 5 16:43:23 2014 -0800*
> 
>    [maven-release-plugin] prepare for next development iteration
> 
> commit 0404fd236ec78e7f83e047972b190cbc7d4fad6a
> Author: Julian Hyde <jh...@apache.org>
> Date:   Wed Nov 5 16:41:50 2014 -0800