You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/20 22:58:00 UTC

[jira] [Commented] (TINKERPOP-2468) Stabilize shouldProcessSessionRequestsInOrder() test

    [ https://issues.apache.org/jira/browse/TINKERPOP-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236495#comment-17236495 ] 

ASF GitHub Bot commented on TINKERPOP-2468:
-------------------------------------------

divijvaidya opened a new pull request #1365:
URL: https://github.com/apache/tinkerpop/pull/1365


   https://issues.apache.org/jira/browse/TINKERPOP-2468
   
   The test failed intermittently because it expects the results to be returned in same order in which they were sent to the server. However, sessions guarantee that the requests would be executed "in-order" on the server but they don't guarantee that the results would be returned in order as well because the results are handled by different executor threads completing different futures.
   
   I fixed the test to not rely on order of the result but still check for order on the server.


----------------------------------------------------------------
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.

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


> Stabilize shouldProcessSessionRequestsInOrder() test
> ----------------------------------------------------
>
>                 Key: TINKERPOP-2468
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2468
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.4.8
>            Reporter: Stephen Mallette
>            Assignee: Divij Vaidya
>            Priority: Minor
>
> This test has been failing somewhat randomly on Travis lately:
> {code}
> [ERROR] shouldProcessSessionRequestsInOrder(org.apache.tinkerpop.gremlin.server.GremlinDriverIntegrateTest)  Time elapsed: 9.593 s  <<< FAILURE!
> java.lang.AssertionError: 
> Expected: iterable containing ["five", "zero"]
>      but: item 0: was "zero"
> 	at org.apache.tinkerpop.gremlin.server.GremlinDriverIntegrateTest.shouldProcessSessionRequestsInOrder(GremlinDriverIntegrateTest.java:621)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)