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][ci] Fix loader compile error & adaptation apache loader/client #194

Merged
merged 28 commits into from
Nov 22, 2022

Conversation

coderzc
Copy link
Member

@coderzc coderzc commented Nov 4, 2022

  • Fix loader compile error
  • Adaptation apache loader/client
  • Fix and improve test (Port conflict)
  • Improve log format

@imbajin
Copy link
Member

imbajin commented Nov 7, 2022

refer the latest toolchain CI code, the commit ID in server has passed >100 times..

so it alert this error. use the recent commit ID is fine

image

Comment on lines -84 to +86
<groupId>com.baidu.hugegraph</groupId>
<groupId>org.apache.hugegraph</groupId>
<artifactId>hugegraph-client</artifactId>
<version>2.0.1</version>
<version>1.0.0</version>
Copy link
Member

Choose a reason for hiding this comment

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

no, we can't use it now (we could only use commons)

and we also should add a maven repo URL in setting.xml in CI if we want to use it

Copy link
Member

Choose a reason for hiding this comment

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

we need install the client.jar in CI by ourselves

@imbajin
Copy link
Member

imbajin commented Nov 7, 2022

another way to solve this problem is that we change the --depth to 300 or more to let it run in the old version. (so that we dont't need use the latest client & version)

however, we need handle the latest version in the last :)

@coderzc coderzc changed the title [fix][ci] Fix compile loader error [fix][ci] Fix compile loader error & adaptation apache loader/client Nov 20, 2022
@coderzc coderzc added this to the 1.0.0 milestone Nov 20, 2022
@coderzc coderzc self-assigned this Nov 20, 2022
@coderzc coderzc added the ci label Nov 20, 2022
@coderzc coderzc force-pushed the fix_ci branch 2 times, most recently from 3820676 to ad06bed Compare November 21, 2022 16:58
@coderzc coderzc force-pushed the fix_ci branch 2 times, most recently from 22e5190 to e3b0fc5 Compare November 21, 2022 17:24
@codecov
Copy link

codecov bot commented Nov 21, 2022

Codecov Report

Merging #194 (1029c92) into master (1800517) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #194      +/-   ##
============================================
- Coverage     86.12%   86.11%   -0.02%     
+ Complexity     3212     3210       -2     
============================================
  Files           341      341              
  Lines         12200    12197       -3     
  Branches       1085     1085              
============================================
- Hits          10507    10503       -4     
+ Misses         1171     1170       -1     
- Partials        522      524       +2     
Impacted Files Coverage Δ
.../centrality/betweenness/BetweennessCentrality.java 89.18% <ø> (ø)
...thm/centrality/betweenness/BetweennessMessage.java 68.96% <ø> (ø)
...ithm/centrality/closeness/ClosenessCentrality.java 77.77% <ø> (ø)
.../algorithm/centrality/degree/DegreeCentrality.java 67.74% <ø> (ø)
...algorithm/centrality/pagerank/PageRank4Master.java 100.00% <ø> (ø)
...computer/algorithm/community/kcore/KcoreValue.java 53.12% <ø> (ø)
...er/algorithm/path/rings/filter/FilterDescribe.java 76.47% <ø> (ø)
.../hugegraph/computer/algorithm/AlgorithmParams.java 100.00% <ø> (ø)
...computer/core/combiner/DoubleValueSumCombiner.java 100.00% <ø> (ø)
.../computer/core/combiner/FloatValueSumCombiner.java 100.00% <ø> (ø)
... and 155 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@coderzc coderzc changed the title [fix][ci] Fix compile loader error & adaptation apache loader/client [fix][ci] Fix compile loader error & adaptation apache loader/client & improve test/log Nov 22, 2022
@coderzc coderzc added improvement bug Something isn't working labels Nov 22, 2022
@coderzc coderzc changed the title [fix][ci] Fix compile loader error & adaptation apache loader/client & improve test/log [fix][ci] Fix loader compile error & adaptation apache loader/client Nov 22, 2022
private static HugeClient CLIENT = null;

protected static void clearAll() {
client().graphs().clearGraph(GRAPH, "I'm sure to delete all data");
}

@BeforeClass
public static void step() throws ClassNotFoundException {
Copy link
Contributor

Choose a reason for hiding this comment

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

step() => setup()?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok.

@javeme javeme merged commit c5f11f5 into master Nov 22, 2022
@javeme javeme deleted the fix_ci branch November 22, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci improvement
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants