-
Notifications
You must be signed in to change notification settings - Fork 50
The example query-builder.js not completing #362
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
Comments
@ayuwono, with this fix we've refactored how we check if a multipart object stream is finished. Can you add the following test to check that this works with all cases? Get results that have two documents with metadata only (no content) as an object stream. (This will test the situation when metadata is the last part in the multipart queue.) Thanks to @ehennum for his help on this! |
Hi @wooldridge, Is this fixed? I tried to run the example query-builder.js and it's still not completing
|
Update, the query-builder.js example should run like this, returning the first 10 results, so ending at "Mali at /countries/ml.json" followed by "done":
|
@wooldridge This is targeted for 9.0-2. Would you be able to take care of this? |
When running all the examples at once, as described in the README, or when running query-builder.js alone, execution dies near the end of query-builder.js:
It should end like this:
All other examples complete successfully when run by themselves.
When query-builder.js is edited to use a promise instead of a stream (similar to how query-by-example.js uses a promise), the script completes successfully. So it appears to be an issue with streams in query-builder.js.
I'm running Node.js v6.5.0 and npm v3.10.3.
The text was updated successfully, but these errors were encountered: