Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix date unequal since client and server has not same time zone #192

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

Linary
Copy link
Contributor

@Linary Linary commented Dec 14, 2020

No description provided.

@codecov
Copy link

codecov bot commented Dec 14, 2020

Codecov Report

Merging #192 (bf96acb) into master (784debb) will increase coverage by 34.49%.
The diff coverage is 0.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master     #192       +/-   ##
=============================================
+ Coverage     38.43%   72.92%   +34.49%     
- Complexity      427      824      +397     
=============================================
  Files            79       79               
  Lines          3471     3472        +1     
  Branches        415      416        +1     
=============================================
+ Hits           1334     2532     +1198     
+ Misses         1974      741     -1233     
- Partials        163      199       +36     
Impacted Files Coverage Δ Complexity Δ
...u/hugegraph/loader/reader/hdfs/HDFSFileReader.java 71.08% <0.00%> (+71.08%) 16.00 <0.00> (+16.00)
...baidu/hugegraph/loader/source/hdfs/HDFSSource.java 61.11% <0.00%> (+61.11%) 9.00 <0.00> (+9.00)
...a/com/baidu/hugegraph/loader/util/MappingUtil.java 83.52% <0.00%> (+2.35%) 13.00% <0.00%> (+1.00%)
.../hugegraph/loader/serializer/InputSourceDeser.java 71.42% <0.00%> (+4.76%) 5.00% <0.00%> (ø%)
...aidu/hugegraph/loader/source/file/Compression.java 100.00% <0.00%> (+5.55%) 3.00% <0.00%> (+1.00%)
...om/baidu/hugegraph/loader/builder/SchemaCache.java 65.11% <0.00%> (+6.97%) 9.00% <0.00%> (+1.00%)
.../baidu/hugegraph/loader/builder/VertexBuilder.java 82.60% <0.00%> (+8.69%) 8.00% <0.00%> (+1.00%)
...om/baidu/hugegraph/loader/builder/EdgeBuilder.java 92.18% <0.00%> (+10.93%) 19.00% <0.00%> (+8.00%)
.../com/baidu/hugegraph/loader/constant/ElemType.java 88.88% <0.00%> (+11.11%) 5.00% <0.00%> (+1.00%)
...m/baidu/hugegraph/loader/executor/LoadContext.java 80.88% <0.00%> (+11.76%) 21.00% <0.00%> (+4.00%)
... and 50 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 784debb...bf96acb. Read the comment docs.

Change-Id: I7e8a6a8f8a7da89df517655cdc90b9b3a1acc530
@Linary Linary force-pushed the fix-date-unequal-with-notsame-tz branch from 14f681f to 24488b0 Compare December 15, 2020 02:58
"Date value must be List<String> class");
List<String> actualDateList = (List<String>) actualDates;
E.checkArgument(expectDates.size() == actualDateList.size(),
"The size of expect and actual dates must be equal");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call Assert.assertEquals with error message param

@Linary Linary force-pushed the fix-date-unequal-with-notsame-tz branch from 16a6779 to 1d5426f Compare December 15, 2020 12:32
Change-Id: I708c3678df8ce64d5db49c40f8a3642738f00ca9
@Linary Linary force-pushed the fix-date-unequal-with-notsame-tz branch from 1d5426f to bf96acb Compare December 15, 2020 12:32
@Linary Linary merged commit 7d2cfb7 into master Dec 16, 2020
@Linary Linary deleted the fix-date-unequal-with-notsame-tz branch December 16, 2020 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants