You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "sadwitdastreetz (via GitHub)" <gi...@apache.org> on 2025/06/12 12:18:22 UTC

[I] [Bug] Add SameNeighborsBatchApiTest to test suite [incubator-hugegraph-toolchain]

sadwitdastreetz opened a new issue, #672:
URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/672

   ### Bug Type (问题类型)
   
   None
   
   ### Before submit
   
   - [x] I had searched in the [issues](https://github.com/apache/hugegraph-toolchain/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.
   Once the server implements the required API, remove the 'Ignore' annotation and enable the tests.
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


Re: [I] [Bug] SameNeighborsBatchApiTest dosenot exist in test suite [hugegraph-toolchain]

Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin closed issue #672: [Bug] SameNeighborsBatchApiTest dosenot exist in test suite
URL: https://github.com/apache/hugegraph-toolchain/issues/672


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org