-
Notifications
You must be signed in to change notification settings - Fork 72
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
new module ts_http_api_SUITE #1037
Conversation
418c97d
to
e784127
Compare
Now with additional commits with changes to account for a regression in basho/riak_kv#1378, and changes in query return type in basho/riak_kv#1382 post TTB merge. Requires basho/riak_pb#185. |
a20d644
to
3d7a233
Compare
{<<"myseries">>, <<"varchar">>, false, 2, 2}, | ||
{<<"time">>, <<"timestamp">>, false, 3, 3}, | ||
{<<"weather">>, <<"varchar">>, false, undefined, undefined}, | ||
{<<"temperature">>,<<"double">>, true, undefined, undefined}]}, |
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.
I'm assuming the change from []
to undefined
to mean null
is OK?
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.
I think so. In the original pb terms, undefined
s are converted to []
in riak_pb_ts_codec, iirc.
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.
Right, but shouldn't this remain unchanged? I confirmed that DESCRIBE
does return undefined
when using TTB encoding at the moment.
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.
Hm. Then it is something that came out unexpectedly from the merge. I'll investigate.
1f28fcf
to
9f7d561
Compare
[{timetrap,{minutes,10}}]. | ||
|
||
init_per_suite(Config) -> | ||
[_Node|_] = Cluster = ts_util:build_cluster(single), |
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.
Need to make sure the cluster is fully up and running before init_per_suite
terminates or else the first test(s) may fail (Brett and I saw this happen).
Suggest rt:wait_until_nodes_ready/1
.
|
422f060
to
8daf879
Compare
@javajolt There is an implicit test for single-key get, in 8daf879#diff-fab6193d0172e564f9e34f4cda49fefdR189 and the |
f5d687f
to
a46e955
Compare
Originally by @lehoff.
a46e955
to
e51626a
Compare
curl test results:
|
👍 146a632 |
RTS-258
Originally by @lehoff (submitted in #1015), with modifications per changes and fixes in basho/riak_kv#1398, now resubmitted against proper branch.