Skip to content

LoisSotoLopez/riak-test-lois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test_lib

Requirements

You will need a Riak cluster running on 127.0.0.1:10017 (or configure your clusters's endpoint on the src/test_lib.erl module).

The configured nodes backend is leveldb (to enable 2i).

The problem

This project is a simplification of another one in which some Riak MapReduce operations are performed on a cluster, but for soe reason they fail.

One of that operation's implementation , that will serve as example, is coded under src/test_lib.erl. That code has been copied to and successfully tested using an erlang script. But when run as part of a rebar3 lib project like this one it fails.

The script loads some required libraries, all included by riak-erlang-client using code:add_path (loading those libraries from a local copy of riak-erlang-client) and the rebar3 library just sets riak-erlang-client as a rebar dependency.

Makefile

Run the MapReduce operation:

$ make test

With verbose

$ make vtest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published