Sigh, nevermind, the real issue here is that I had a previous version
of the client installed and rebar doesn't play well with centrally
installed deps.  Once I uninstalled that the unit tests worked.

Still would like to know whether 1.2.0 is the current recommended version
to use?

Thanks,

-Anthony

On Fri, Oct 21, 2011 at 04:40:52PM -0700, Anthony Molinaro wrote:
> Hi,
> 
>   So I was getting ready to start updating riak from 0.14.2 to 1.0.1 and
> thought I should probably update my client as well (although from what I
> can tell this is not a requirement to upgrade).  Unfortunately the most
> recent tag of riak-erlang-client (1.2.0) fails its unit tests
> 
> ==> basho (eunit)
> Compiled src/riakc_obj.erl
> Compiled src/riakc_pb.erl
> Compiled src/riakc_pb_socket.erl
> 
> =ERROR REPORT==== 21-Oct-2011::16:33:23 ===
> ** Generic server <0.410.0> terminating 
> ** Last message in was {tcp_closed,#Port<0.7488>}
> ** When Server state == {state,"127.0.0.1",51982,false,false,undefined,
>                                undefined,
>                                {[],[]},
>                                1,[],infinity,100}
> ** Reason for termination == 
> ** disconnected
> riakc_pb:330: pb_test_ (content encode decode)...*failed*
> ::error:function_clause
>   in function riakclient_pb:encode_rpbcontent/1
>     called as encode_rpbcontent({rpbcontent,<<"test 
> value">>,"ctype","charset","encoding","vtag",
>             [{rpblink,<<"b1">>,<<"k1">>,<<"v1">>},
>              {rpblink,<<"b2">>,<<"k2">>,<<"v2">>}],
>             1000002,3,
>             [{rpbpair,"X-Riak-Meta-MyMetaData1",[...]},{rpbpair,[...],...}],
>             undefined})
>   in call from riakc_pb:'-pb_test_/0-fun-2-'/0
> 
> 
> riakc_pb:355: pb_test_ (empty content encode decode)...*failed*
> ::error:function_clause
>   in function riakclient_pb:encode_rpbcontent/1
>     called as encode_rpbcontent({rpbcontent,<<"test 
> value">>,undefined,undefined,undefined,undefined,
>             undefined,undefined,undefined,undefined,undefined})
>   in call from riakc_pb:'-pb_test_/0-fun-4-'/0
> 
> 
> =======================================================
>   Failed: 2.  Skipped: 0.  Passed: 24.
> Cover analysis: 
> /home/molinaro/projects/opensource/riak-erlang-client/basho/.eunit/index.html
> ERROR: One or more eunit tests failed.
> 
> Is there currently a recommended version of the client?
> 
> Thanks,
> 
> -Anthony
> 
> -- 
> ------------------------------------------------------------------------
> Anthony Molinaro                           <antho...@alumni.caltech.edu>
> 
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-- 
------------------------------------------------------------------------
Anthony Molinaro                           <antho...@alumni.caltech.edu>

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to