- Notifications
You must be signed in to change notification settings - Fork 44
Use BytesId unify the Id classes #78
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
Conversation
bbbab12
to 9da29e2
Compare Codecov Report
@@ Coverage Diff @@ ## master #78 +/- ## ========================================= Coverage ? 88.46% Complexity ? 2582 ========================================= Files ? 266 Lines ? 9675 Branches ? 817 ========================================= Hits ? 8559 Misses ? 720 Partials ? 396
Continue to review full report at Codecov.
|
computer-core/src/main/java/com/baidu/hugegraph/computer/core/graph/id/BytesId.java Outdated Show resolved Hide resolved
computer-core/src/main/java/com/baidu/hugegraph/computer/core/graph/id/BytesId.java Show resolved Hide resolved
Error: Failures: Error: MiniKubeTest.testJobFailed:187 Expected: a string containing "No such file or directory" but: was " worker failed message: Job has reached the specified backoff limit" [INFO] Error: Tests run: 521, Failures: 1, Errors: 0, Skipped: 0 |
public IdList copy() { | ||
IdList values = new IdList(); | ||
for (Id value : this.values()) { | ||
values.add(value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value.copy()
IdList values = new IdList(); | ||
for (Id value : this.values()) { | ||
values.add(value); | ||
values.add((Id) value.copy()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems unneeded to always deep copy, or keep other list copy like ListValue the consistent behavior.
Error: Failures: Error: MiniKubeTest.testJobCancelled:248 Argument(s) are different! Wanted: jobObserver.onJobStateChanged( com.baidu.hugegraph.computer.driver.DefaultJobState@37d1c5c ); -> at com.baidu.hugegraph.computer.k8s.MiniKubeTest.testJobCancelled(MiniKubeTest.java:248) Actual invocations have different arguments: jobObserver.onJobStateChanged( com.baidu.hugegraph.computer.driver.DefaultJobState@5fa53edb ); -> at com.baidu.hugegraph.computer.k8s.driver.KubernetesDriver.waitJob(KubernetesDriver.java:298) jobObserver.onJobStateChanged( com.baidu.hugegraph.computer.driver.DefaultJobState@5fa53edb ); -> at com.baidu.hugegraph.computer.k8s.driver.KubernetesDriver$1.eventReceived(KubernetesDriver.java:350) Error: Errors: Error: com.baidu.hugegraph.computer.k8s.MiniKubeTest.testPullImageError(com.baidu.hugegraph.computer.k8s.MiniKubeTest) Error: Run 1: MiniKubeTest.testPullImageError » KubernetesClient 404 page not found Error: Run 2: MiniKubeTest>AbstractK8sTest.teardown:105 » NullPointer [INFO] [INFO] Error: Tests run: 523, Failures: 1, Errors: 1, Skipped: 0 |
No description provided.