-
Notifications
You must be signed in to change notification settings - Fork 527
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 test-module checkstyle #1842
fix test-module checkstyle #1842
Conversation
hugegraph-test/src/test/java/com/baidu/hugegraph/core/AuthTest.java
Outdated
Show resolved
Hide resolved
hugegraph-test/src/test/java/com/baidu/hugegraph/core/AuthTest.java
Outdated
Show resolved
Hide resolved
It seems that renaming to "test" package will trigger running all tests, but we expect all tests to be executed in multiple stages |
8e71489
to
21cc1b6
Compare
ci error: Error: Tests run: 727, Failures: 1, Errors: 0, Skipped: 81, Time elapsed: 229.553 s <<< FAILURE! - in com.baidu.hugegraph.core.CoreTestSuite
Error: testGremlinJobAndRestore(com.baidu.hugegraph.core.TaskCoreTest) Time elapsed: 1.215 s <<< FAILURE!
java.lang.AssertionError: expected:<CANCELLING> but was:<FAILED>
at com.baidu.hugegraph.core.TaskCoreTest.testGremlinJobAndRestore(TaskCoreTest.java:629) |
hugegraph-test/src/main/java/com/baidu/hugegraph/core/VertexCoreTest.java
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/core/TaskCoreTest.java
Outdated
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/core/AuthTest.java
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## master #1842 +/- ##
============================================
+ Coverage 66.91% 70.96% +4.05%
Complexity 982 982
============================================
Files 447 447
Lines 38072 38076 +4
Branches 5401 5401
============================================
+ Hits 25475 27022 +1547
+ Misses 10082 8408 -1674
- Partials 2515 2646 +131
Continue to review full report at Codecov.
|
@seagle-yuan seems it's confuse and break the IDE default wrap behavior with 8 space in new line consider keep the original style is better (or maybe we need a easy way to keep the wrap unify) |
need to update checkstyle version |
hugegraph-test/src/main/java/com/baidu/hugegraph/api/MetricsApiTest.java
Outdated
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/core/AuthTest.java
Outdated
Show resolved
Hide resolved
please rebase latest master branch |
5f72ead
to
b95626a
Compare
@@ -209,7 +210,8 @@ public void testEdgeCacheClearWhenUpdateVertex() { | |||
Whitebox.invoke(cache, "edgesCache", "size")); | |||
|
|||
cache.addVertexProperty(new HugeVertexProperty<>(v1, | |||
cache.graph().schema().getPropertyKey("name"), | |||
cache.graph().schema() | |||
.getPropertyKey("name"), |
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.
can align with .graph()
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.
Can you give a code example?
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/SecurityManagerTest.java
Outdated
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/SecurityManagerTest.java
Outdated
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/cassandra/CassandraTest.java
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/RolePermissionTest.java
Show resolved
Hide resolved
seems didn't move java class to test/java |
fix hugegraph-test checkstyle issue
TODO: move java class to test/java