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
ResultSet.hasNext should be idempotent #346
Conversation
This looks like a good change. Thanks for this. Did you run the Gremlin Server integration tests after making this change? |
Yes, I ran 'mvn clean install -DskipIntegrationTests=false -DincludeNeo4j' and it passed. |
VOTE +1 |
VOTE: +1 |
@robertdale when we get the final vote for this PR to be merged, i expect to merge it to tp31 and then master as I'd like the 3.1.x line of code to get this fix. i only mention this because i see that you now have what looks like an empty merge commit on this PR at this point. Do you know what that is? Is that something you can clean up from your end? note to the final voter - i will update changelog on merge. |
I merged your master into my fork. Commit 0787e46 |
You could just use |
Normally that's what I would do but tried doing it the 'github way' - https://help.github.com/articles/syncing-a-fork/ So let me know what you want me to do now. I can start over, creating the JIRA ticket, branch, etc. |
no need to start over - maybe not an issue. i'll see what happens when i merge. thanks |
Smart. VOTE +1. |
Sorry I didn't create a ticket; JIRA is having problems.
Calling hasNext() multiple times would dequeue items.