-
Notifications
You must be signed in to change notification settings - Fork 118
fix(client): Add SameNeighborsBatchApiTest to test suite #673
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,7 @@ | |
| import org.apache.hugegraph.api.traverser.PersonalRankApiTest; | ||
| import org.apache.hugegraph.api.traverser.RingsRaysApiTest; | ||
| import org.apache.hugegraph.api.traverser.SameNeighborsApiTest; | ||
| import org.apache.hugegraph.api.traverser.SameNeighborsBatchApiTest; | ||
| import org.apache.hugegraph.api.traverser.ShortestPathApiTest; | ||
| import org.apache.hugegraph.api.traverser.SingleSourceShortestPathApiTest; | ||
| import org.apache.hugegraph.api.traverser.TemplatePathsApiTest; | ||
|
|
@@ -74,6 +75,7 @@ | |
| CountApiTest.class, | ||
| RingsRaysApiTest.class, | ||
| SameNeighborsApiTest.class, | ||
| SameNeighborsBatchApiTest.class, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Low: Enabled limit coverage reuses a stale request
Evidence
Impact
Requested fix
|
||
| JaccardSimilarityApiTest.class, | ||
| ShortestPathApiTest.class, | ||
| AllShortestPathsApiTest.class, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,9 +25,11 @@ | |
| import org.apache.hugegraph.testutil.Assert; | ||
| import org.junit.BeforeClass; | ||
| import org.junit.Test; | ||
| import org.junit.Ignore; | ||
|
|
||
| import com.google.common.collect.ImmutableList; | ||
|
|
||
| @Ignore("Blocked by server: /traversers/sameneighborsbatch not implemented, see <https://github.com/apache/incubator-hugegraph/issues/2798>") | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. line too long |
||
| public class SameNeighborsBatchApiTest extends TraverserApiTest { | ||
|
|
||
| @BeforeClass | ||
|
|
||
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.
High: Enabled test suite calls an unsupported server endpoint
hugegraph-client/src/test/java/org/apache/hugegraph/api/ApiTestSuite.java:78Evidence
SameNeighborsBatchAPI.type()returnssameneighborsbatch, so addingSameNeighborsBatchApiTest.classmakesApiTestSuitepost to/traversers/sameneighborsbatch; the CI workflow runsApiTestSuiteagainst server commit8c1ee71, where onlySameNeighborsAPIat/traversers/sameneighborsexists.Impact
mvn test -Dtest=ApiTestSuitewill fail in CI once this class is included.Requested fix