-
Notifications
You must be signed in to change notification settings - Fork 100
Support for Riak 2.0. Ability to use special indices $bucket, $key. Ability to provide max_results and continuation in db.query and get continuation back. #225
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
Conversation
…results and continuation params
… of Object[Object], because buffer is often looks like:
{
phase: 0
error: "[{<<"lineno">>,466},{<<"message">>,<<"SyntaxError: syntax error">>},{<<"source">... (length: 92)"
input: "{ok,{r_object,<<"users">>,<<"b1f0e0b64f8143a6a45977db8e29ff89">>,[{r_content,{di... (length: 515)"
}
either we use asi or we don't mixing is bad
Since just dumping data in Riak without ever cleaning up is not nice I added a cleanup for all writen keys in the tests. This should also make sure that we don't have dependend tests Also commeted out search tests relying in pre solar functionaliy
this should only return the keys added (4) since we clean the bucket between tests
environment is set on Travis
only expect keys this tests explicitly saves
otherwise riak.conf will be ignored due to a present app.config
locally 1 sec is more than enough wait for indexes to propagate but on travis this seems to not be the case let's see...
Riak 2.0 basic support
|
Your build don't pass with Travis CI |
|
Oops, I haven't seen your previous comment. |
|
It passed now. |
|
It's dirty to use many setTimeout. Can you use another solution or look at why it is mandatory to use setTimeout? PS : Maybe a riak-admin wait-for-service? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On this test, and many others, you are not in agreement with the PR #201 which we have merged into master
|
Its come to our repository from https://github.com/sideshowcoder/riak-js SetTimeouts is really hack. But for now I don't know better alternative. Probably it can be extracted from test to setup required test schema in install_riak.sh script. |
|
OK, so can you make a more proper code by using async module or another async library? |
|
Yes, but probably only on weekend On Thu, Nov 27, 2014 at 6:22 PM, Quentin Buathier notifications@github.com
|
|
Any news for the updating of the tests ? Or for that comment : #225 (diff) ? |
Conflicts: lib/http-client.js lib/meta.js test/http-client-test.js
|
Sorry for delay, test updated and test client now used. |
|
ping |
|
BTW, official node library is in active development |
|
any eta on when somebody can merge this? |
|
This PR looks good. So, I merge it now. But I think we must do some refactor later on some things. |
Support for Riak 2.0. Ability to use special indices $bucket, $key. Ability to provide max_results and continuation in db.query and get continuation back.
No description provided.