I have installed the source code and a unit test failed:

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
org.apache.shardingsphere.route.time.mysql.MySQLTimeServiceTest
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
0.48 s <<< FAILURE! - in
org.apache.shardingsphere.route.time.mysql.MySQLTimeServiceTest
[ERROR]
assertInitDataSource(org.apache.shardingsphere.route.time.mysql.MySQLTimeServiceTest)
 Time elapsed: 0.329 s  <<< FAILURE!
java.lang.AssertionError
        at
org.apache.shardingsphere.route.time.mysql.MySQLTimeServiceTest.assertInitDataSource(MySQLTimeServiceTest.java:48)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   MySQLTimeServiceTest.assertInitDataSource:48

The root cause is the inputStream is not close then leading to a file close
failure.

The source code: 55th line of MySQLTimeService.java



linzesi <[email protected]> 于2019年11月8日周五 上午10:32写道:

>
>
> +1.
>
>
> checked list:
>
> [X] Download links are valid.
> [X] Checksums and PGP signatures are valid.
> [X] DISCLAIMER is included.
> [X] Source code artifacts have correct names matching the current release.
> [X] LICENSE and NOTICE files are correct for each ShardingSphere repo.
> [X] All files have license headers if necessary.
> [X] No compiled archives bundled in source archive.
> On 11/8/2019 10:24,董。<[email protected]> wrote:
> +1.
>
>
> checked list:
>
> [X] Download links are valid.
> [X] Checksums and PGP signatures are valid.
> [X] DISCLAIMER is included.
> [X] Source code artifacts have correct names matching the current release.
> [X] LICENSE and NOTICE files are correct for each ShardingSphere repo.
> [X] All files have license headers if necessary.
> [X] No compiled archives bundled in source archive.
>
>
>
> Best wishes.
>
>
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:&nbsp;"Sion Yang"<[email protected]&gt;;
> 发送时间:&nbsp;2019年11月8日(星期五) 上午9:21
> 收件人:&nbsp;"dev"<[email protected]&gt;;
>
> 主题:&nbsp;Re:Re: [VOTE] Release Apache ShardingSphere (Incubating)
> 4.0.0-RC3 ROUND 3
>
>
>
> +1.
>
> I checked:
>
> [X] Download links are valid.
> [X] Checksums and PGP signatures are valid.
> [X] DISCLAIMER is included.
> [X] Source code artifacts have correct names matching the current release.
> [X] LICENSE and NOTICE files are correct for each ShardingSphere repo.
> [X] All files have license headers if necessary.
> [X] No compiled archives bundled in source archive.
>
>
>
>
> --
>
> Yi Yang(Sion)
> Apache ShardingSphere
>
>
>
> At 2019-11-07 20:23:18, "[email protected]" <[email protected]&gt;
> wrote:
> &gt;+1.
> &gt;
> &gt;I checked:
> &gt;
> &gt;[X] Download links are valid.
> &gt;[X] Checksums and PGP signatures are valid.
> &gt;[X] DISCLAIMER is included.
> &gt;[X] Source code artifacts have correct names matching the current
> release.
> &gt;[X] LICENSE and NOTICE files are correct for each ShardingSphere repo.
> &gt;[X] All files have license headers if necessary.
> &gt;[X] No compiled archives bundled in source archive.
> &gt;
> &gt;------------------
> &gt;
> &gt;Liang Zhang (John)
> &gt;Apache ShardingSphere &amp; Dubbo
> &gt;
> &gt;
> &gt;Juan Pan <[email protected]&gt; 于2019年11月7日周四 下午7:34写道:
> &gt;
> &gt;&gt; Hi ShardingSphere Community,
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; I tried my best to solve the issues you raised, and went through
> the check
> &gt;&gt; list twice to avoid the confusion, but your review and vote on
> this release
> &gt;&gt; is important to us. Look forward to your attention and
> interaction.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; Release notes:
> &gt;&gt;
> &gt;&gt;
> https://github.com/apache/incubator-shardingsphere/blob/dev/RELEASE-NOTES.md
> &gt;&gt
> <https://github.com/apache/incubator-shardingsphere/blob/dev/RELEASE-NOTES.md&gt;&gt>
> ;
> &gt;&gt;
> &gt;&gt; The release candidates:
> &gt;&gt;
> https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/4.0.0-RC3/
> &gt;&gt
> <https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/4.0.0-RC3/&gt;&gt>
> ;
> &gt;&gt;
> &gt;&gt; Maven 2 staging repository:
> &gt;&gt;
> &gt;&gt;
> https://repository.apache.org/content/repositories/orgapacheshardingsphere-1026/org/apache/shardingsphere/
> &gt;&gt
> <https://repository.apache.org/content/repositories/orgapacheshardingsphere-1026/org/apache/shardingsphere/&gt;&gt>
> ;
> &gt;&gt;
> &gt;&gt; Git tag for the release:
> &gt;&gt;
> https://github.com/apache/incubator-shardingsphere/tree/4.0.0-RC3/
> &gt;&gt
> <https://github.com/apache/incubator-shardingsphere/tree/4.0.0-RC3/&gt;&gt>
> ;
> &gt;&gt;
> &gt;&gt; Release Commit ID:
> &gt;&gt;
> &gt;&gt;
> https://github.com/apache/incubator-shardingsphere/commit/ea05bb0ff693bde04b7e0742386fdcb94b93bd60
> &gt;&gt
> <https://github.com/apache/incubator-shardingsphere/commit/ea05bb0ff693bde04b7e0742386fdcb94b93bd60&gt;&gt>
> ;
> &gt;&gt;
> &gt;&gt; Keys to verify the Release Candidate:
> &gt;&gt;
> https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/KEYS
> &gt;&gt
> <https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/KEYS&gt;&gt>
> ;
> &gt;&gt;
> &gt;&gt; Look at here for how to verify this release candidate:
> &gt;&gt;
> https://shardingsphere.apache.org/community/en/contribute/release/
> &gt;&gt
> <https://shardingsphere.apache.org/community/en/contribute/release/&gt;&gt>
> ;
> &gt;&gt;
> &gt;&gt; The vote will be open for at least 72 hours or until necessary
> number of
> &gt;&gt; votes are reached.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; Please vote accordingly:
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] +1 approve
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] +0 no opinion
> &gt;&gt;
> &gt;&gt; [ ] -1 disapprove with the reason
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; Checklist for reference:
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] Download links are valid.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] Checksums and PGP signatures are valid.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] DISCLAIMER is included.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] Source code artifacts have correct names matching the current
> release.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] LICENSE and NOTICE files are correct for each ShardingSphere
> repo.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] All files have license headers if necessary.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [ ] No compiled archives bundled in source archive.
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; Best wishes,
> &gt;&gt; Trista
> &gt;&gt;
> &gt;&gt;
> &gt;&gt;&nbsp; Juan Pan
> &gt;&gt;
> &gt;&gt;
> &gt;&gt; [email protected]
> &gt;&gt; Juan Pan(Trista), Apache ShardingSphere
> &gt;&gt;
> &gt;&gt;



-- 
Zhang Yonglun
Apache ShardingSphere

Reply via email to