Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Comments

fix: can't delete conf file when drop graph#93

Merged
coderzc merged 4 commits intomasterfrom
zy_dev
Mar 21, 2022
Merged

fix: can't delete conf file when drop graph#93
coderzc merged 4 commits intomasterfrom
zy_dev

Conversation

@zyxxoo
Copy link
Contributor

@zyxxoo zyxxoo commented Mar 8, 2022

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 8, 2022

CLA Assistant Lite bot Good! All Contributors have signed the CLA.

public void file(String path) {
this.path = path;
}

Copy link
Contributor

Choose a reason for hiding this comment

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

can move loadConfigFile(String path) to line 170

private final String path;
private String path;

public HugeConfig(Configuration config) {
Copy link
Contributor

Choose a reason for hiding this comment

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

can extract file from Configuration as possible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I dont have idea, the ProperityConfiguration have a private field 'Location', but not get method

Copy link
Contributor

Choose a reason for hiding this comment

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

For the convenience of users, we can try to use a trick way like Whitebox

@zyxxoo zyxxoo changed the title fix: drop graph fix: delete conf file when drop graph Mar 8, 2022
private final String path;
private String path;

public HugeConfig(Configuration config) {
Copy link
Contributor

Choose a reason for hiding this comment

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

For the convenience of users, we can try to use a trick way like Whitebox

@zyxxoo
Copy link
Contributor Author

zyxxoo commented Mar 21, 2022

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Mar 21, 2022
@javeme javeme changed the title fix: delete conf file when drop graph fix: can't delete conf file when drop graph Mar 21, 2022
@javeme
Copy link
Contributor

javeme commented Mar 21, 2022

ci error:

Tests run: 334, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 56.455 sec <<< FAILURE!
testGetCommonVersion(com.baidu.hugegraph.unit.version.VersionTest)  Time elapsed: 1.698 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<2.1.[1]> but was:<2.1.[0]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at com.baidu.hugegraph.unit.version.VersionTest.testGetCommonVersion(VersionTest.java:36)

@codecov
Copy link

codecov bot commented Mar 21, 2022

Codecov Report

Merging #93 (91f6a91) into master (05fe7a4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #93   +/-   ##
=========================================
  Coverage     93.15%   93.15%           
  Complexity       65       65           
=========================================
  Files             9        9           
  Lines           263      263           
  Branches         22       22           
=========================================
  Hits            245      245           
  Misses            8        8           
  Partials         10       10           

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 05fe7a4...91f6a91. Read the comment docs.

@coderzc coderzc merged commit d0e5971 into master Mar 21, 2022
@javeme javeme deleted the zy_dev branch March 21, 2022 12:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants