Skip to content

Conversation

Linary
Copy link
Contributor

@Linary Linary commented Aug 4, 2021

No description provided.

@Linary Linary force-pushed the bytesid branch 5 times, most recently from bbbab12 to 9da29e2 Compare August 5, 2021 06:16
@codecov
Copy link

codecov bot commented Aug 5, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@9a14659). Click here to learn what that means.
The diff coverage is 75.26%.

❗ Current head 9469d77 differs from pull request most recent head e06d18b. Consider uploading reports for the commit e06d18b to get more accurate results
Impacted file tree graph

@@ Coverage Diff @@ ## master #78 +/- ## ========================================= Coverage ? 88.46% Complexity ? 2582 ========================================= Files ? 266 Lines ? 9675 Branches ? 817 ========================================= Hits ? 8559 Misses ? 720 Partials ? 396 
Impacted Files Coverage Δ
...egraph/computer/core/io/JsonStructGraphOutput.java 93.97% <ø> (ø)
.../hugegraph/computer/core/io/StreamGraphOutput.java 96.82% <ø> (ø)
...u/hugegraph/computer/core/graph/value/IdValue.java 86.04% <33.33%> (ø)
.../hugegraph/computer/core/io/StructGraphOutput.java 85.29% <50.00%> (ø)
...aidu/hugegraph/computer/core/graph/id/BytesId.java 78.26% <78.26%> (ø)
...graph/computer/core/graph/BuiltinGraphFactory.java 91.17% <100.00%> (ø)
...du/hugegraph/computer/core/graph/id/IdFactory.java 55.55% <100.00%> (ø)
...u/hugegraph/computer/core/input/HugeConverter.java 97.50% <100.00%> (ø)
...u/hugegraph/computer/core/io/StreamGraphInput.java 97.36% <100.00%> (ø)
...aidu/hugegraph/computer/core/util/IdValueUtil.java 64.28% <100.00%> (ø)

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 9a14659...e06d18b. Read the comment docs.

javeme
javeme previously approved these changes Aug 6, 2021
@javeme
Copy link
Contributor

javeme commented Aug 6, 2021

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
javeme
javeme previously approved these changes Aug 10, 2021
houzhizhen
houzhizhen previously approved these changes Aug 10, 2021
public IdList copy() {
IdList values = new IdList();
for (Id value : this.values()) {
values.add(value);
Copy link
Contributor

Choose a reason for hiding this comment

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

value.copy()

@Linary Linary dismissed stale reviews from houzhizhen and javeme via 049779f August 10, 2021 11:16
houzhizhen
houzhizhen previously approved these changes Aug 10, 2021
IdList values = new IdList();
for (Id value : this.values()) {
values.add(value);
values.add((Id) value.copy());
Copy link
Contributor

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.

@Linary Linary changed the title Use BytesId unify the use of Id classes Use BytesId unify the Id classes Aug 11, 2021
javeme
javeme previously approved these changes Aug 11, 2021
coderzc
coderzc previously approved these changes Aug 11, 2021
@javeme
Copy link
Contributor

javeme commented Aug 11, 2021

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
@javeme javeme merged commit 5cde520 into master Aug 11, 2021
@javeme javeme deleted the bytesid branch August 11, 2021 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants