Skip to content
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

Fix tests #30

Closed
ferigis opened this issue Jun 5, 2017 · 0 comments · Fixed by #32
Closed

Fix tests #30

ferigis opened this issue Jun 5, 2017 · 0 comments · Fixed by #32

Comments

@ferigis
Copy link
Member

ferigis commented Jun 5, 2017

Dialyzer meta test is failing

{failed,{{badmatch,["sumo_store_riak.erl:490: The call sumo_store_riak:update_map(Conn::pid(),Bucket::{binary(),binary()},'undefined',{'map',[{{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'},_}],[{{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'},_}],[{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'}],'undefined' | binary()},Opts::['if_none_match' | 'if_not_modified' | 'return_body' | 'return_head' | {'dw','all' | 'default' | 'one' | 'quorum' | non_neg_integer()} | {'n_val',pos_integer()} | {'pw','all' | 'default' | 'one' | 'quorum' | non_neg_integer()} | {'sloppy_quorum',boolean()} | {'w','all' | 'default' | 'one' | 'quorum' | non_neg_integer()}]) will never return since it differs in the 3rd argument from the success typing arguments: (pid(),{binary(),binary()},binary(),{'map',[{{_,_},_}],[{{_,_},_}],[{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'}],'undefined' | binary()},[atom() | tuple()])\n"]},
         [{ktn_meta_SUITE,dialyzer,1,
                          [{file,"/Users/ferigis/workspace/erlang/inaka/sumo_db_riak/_build/test/lib/katana_test/src/ktn_meta_SUITE.erl"},
                           {line,73}]},
          {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1529}]},
          {test_server,run_test_case_eval1,6,
                       [{file,"test_server.erl"},{line,1045}]},
          {test_server,run_test_case_eval,9,
                       [{file,"test_server.erl"},{line,977}]}]}}
ferigis added a commit that referenced this issue Jun 6, 2017
ferigis added a commit that referenced this issue Jun 6, 2017
elbrujohalcon pushed a commit that referenced this issue Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant