Skip to content

[Bug] SameNeighborsBatchApiTest dosenot exist in test suite #672

@sadwitdastreetz

Description

@sadwitdastreetz

Bug Type (问题类型)

None

Before submit

  • I had searched in the issues and found no similar issues.

Environment (环境信息)

  • Server Version: v1.5.0
  • Toolchain Version: v1.5.0

Expected & Actual behavior (期望与实际表现)

Background

Currently, SameNeighborsBatchApiTest is not included in the Maven test suite, so its failures are not visible in CI. All test cases in this class fail locally with HTTP 404 because the server does not implement /traversers/sameneighborsbatch.

Here's the exact report from the test.

class jakarta.ws.rs.NotFoundException: HTTP 404 Not Found
 at org.apache.hugegraph.exception.ServerException.fromResponse(ServerException.java:45)
 at org.apache.hugegraph.client.RestClient.checkStatus(RestClient.java:194)
 at org.apache.hugegraph.rest.AbstractRestClient.post(AbstractRestClient.java:317)
 at org.apache.hugegraph.client.RestClient.post(RestClient.java:146)
 at org.apache.hugegraph.rest.AbstractRestClient.post(AbstractRestClient.java:253)
 at org.apache.hugegraph.client.RestClient.post(RestClient.java:111)
 at org.apache.hugegraph.api.traverser.SameNeighborsBatchAPI.post(SameNeighborsBatchAPI.java:38)
 at org.apache.hugegraph.api.traverser.SameNeighborsBatchApiTest.testSameNeighborsBatchBatch(SameNeighborsBatchApiTest.java:83)

Proposal

Add SameNeighborsBatchApiTest to the test suite.
Temporarily annotate the class or failing methods with 'Ignore', referencing the missing server API and linking to the server-side issue. Related to server Issue#2798
apache/hugegraph#2798
Once the server implements the required API, remove the 'Ignore' annotation and enable the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions