Commit Graph

54 Commits

Author SHA1 Message Date
andytill
b3a587db6b Flexible key tests. 2016-04-11 08:27:34 +00:00
Brett Hazen
87ed6c8911 Set riak-erlang-http-client dep to riak_ts-develop 2016-03-01 13:27:06 -07:00
Brett Hazen
fcb58df420 Merge remote-tracking branch 'origin/riak_ts-develop-1.2' into riak_ts-develop-1.3 2016-02-19 15:41:50 -07:00
Brett Hazen
ea771b4427 Set dep for riak-erlang-http-client to riak_ts-develop-1.3 2016-02-19 14:55:58 -07:00
Gordon Guthrie
e5e8109ce6 make rebar.config more readable 2016-02-17 19:40:08 +00:00
Brett Hazen
2669644f1d Adjust riak-erlang-client and riak-erlang-http-client dependencies 2016-02-10 17:35:00 -07:00
Brett Hazen
75c76d9e3e Create riak_ts-develop-1.3 2016-02-10 17:05:24 -07:00
Brett Hazen
eed407a6df Created riak_ts-develop-1.2 2016-01-21 05:33:31 +00:00
Brett Hazen
1832bedf37 Update the dependency for riakhttpc to end-to-end/timeseries 2015-11-24 21:52:08 -07:00
Brett Hazen
69f34a5f31 Change dependency for riakc to end-to-end/timeseries 2015-10-20 14:05:41 -06:00
Andrei Zavada
32bbf19be4 pin riakc to ts-enabled branch of riak-erlang-client 2015-09-16 04:50:07 +04:00
Andrew J. Stone
64f784e1f8 bump meck to 0.8.2 2015-01-09 19:37:25 -05:00
Andrew J. Stone
a01438a1f0 allow any meck version string in rebar.config 2015-01-09 19:06:52 -05:00
John Burwell
a37832d7f9 Verify the list of HTTP stats keys is complete
* Checks the list of stats keys returned from the HTTP endpoint
    is complete -- delineating between riak and riak_ee.  The test will
    fail if the list returned from the HTTP endpoint does not exactly match
    the expected list.  This behavior acts as a forcing function to ensure
    that the expected list is properly maintained as stats are added and
    removed.
    * Modifies reset-current-env to properly clean dependencies when a
    full clean is requested and remove the current directory in the
    target test instance.
    * Adds logging to verify_riak_stats to explain the addition steps
    being performed
    * Adds rt:product/1 to determine whether a node is running riak,
    riak_ee, or riak_cs
    * Adds tools.mk support and eunit scaffolding to rebar.config
    * Modifies reset-current-env.sh to remove the current directory in
    the target test instance
2015-01-08 17:23:25 -05:00
Christopher Meiklejohn
9db9f51744 Merge branch 'master' into perf-harness-merge
Conflicts:
	src/riak_test_escript.erl
	src/riak_test_runner.erl
	src/rtssh.erl
2014-07-11 12:19:42 -04:00
Jon Anderson
79a0434c3d Merge pull request #599 from basho/feature/jra/listkeys-eqcfsm
Eqc-fsm version of listkeys statem test
2014-05-09 13:58:59 -04:00
Jared Morrow
499a4136f4 Fix meck to a tag 2014-05-09 09:13:19 -06:00
Jon Anderson
3d4a836915 Added druuid depenency to fix g_uuid() failure in
verify_listkeys_eqcfsm.
2014-05-07 11:35:34 -04:00
Steve Vinoski
fbbacdd0b3 support for anonymous function intercepts
Allow intercept functions passed to rt_intercept:add/2 to be anonymous. In
compiled code they can either be a plain anonymous function, assuming they
don't use any variables from the surrounding context, or they can be a
2-tuple like this:

{[FreeVar1, ...],
 fun(Arg1, ...) -> ... end}

where FreeVar1 etc. is a list of free variables to be closed over so that
they can be used within the anonymous function. For making interactive
calls to rt_intercept:add/2 from the Erlang shell, only the anonymous
function form is required, even if it uses free variables, though the
2-tuple form is also acceptable.

For compiled code, support for anonymous intercept functions is implemented
via a parse transform, and so to use anonymous functions the intercept
structure(s) containing them must be defined directly inline as part of the
final argument to rt_intercept:add/2, i.e., they cannot be first assigned
to a variable that is then used within the argument. This is because the
value of such a variable might not be visible to the parse transform.

Add a description of anonymous function intercepts to the README.
2014-04-25 15:07:02 -04:00
Evan Vigil-McClanahan
1180eccdfc new strat working, needs testing on bigger cluster 2014-04-15 20:33:06 -04:00
Jared Morrow
ee27329edb Bump lager dep to 2.0.3 2014-02-13 11:16:27 -07:00
Jared Morrow
526aeaa1b2 Use full branch notation in rebar.config 2013-09-24 15:49:54 -06:00
Andrew Thompson
fa981d017c Make riak_test play nice with R16
Atoms with dots in them need to be quoted, adjust the regex in
rebar.config.
2013-07-20 00:01:15 -04:00
Andrew Thompson
89d1979c60 Upgrade to lager 2.0 and remove some lager 2.0 API abuse
Riak, EE and CS all use lager 2.0 now, riak_test should too.
2013-07-18 16:08:33 -04:00
Joe DeVivo
9b182f7ed8 moved escript from riak_test to riak_test_escript 2013-04-26 07:33:09 -07:00
Jared Morrow
2e3be5e6da Fix dep of lager so tests will run properly 2013-03-24 17:29:17 -06:00
Ryan Zezeski
c7cb386caf Pull riak http client from master
Need to pull from master or else a version mismatch occurs for the
protobuffs client.
2013-03-04 22:20:13 -05:00
Joe DeVivo
14a2d376c5 A passing full losed upgrade run 2013-02-05 13:01:01 -07:00
Joe DeVivo
a453284201 Load applied 2013-02-05 13:01:00 -07:00
Joe DeVivo
de8b81305d Thanks for nothing, proper. Now GPL free by bumping kvc to 1.3.0 2013-01-08 14:42:23 -07:00
Ryan Zezeski
d284dcfc22 Add intercepts
Intercepts provide the ability to easily and efficiently intercept
function calls.  Giving the ability to change the code being executed
as well as affect local and global state.
2012-12-20 16:14:28 -05:00
Joe DeVivo
42a165c0f9 Unpinned lager; if it loves me, it will come back 2012-12-14 08:22:48 -07:00
Joe DeVivo
f3e0420a63 Fixed mapred_verify test escript/priv issues 2012-11-09 15:54:58 -07:00
Christopher Meiklejohn
1a7949fd60 Bump lager dep to 1.2.1. 2012-09-29 16:48:26 -04:00
Dave Parfitt
8936298bac added mapred_verify to the escript def 2012-09-27 14:51:30 -04:00
Joe DeVivo
71b5a63dd8 Initial commit: Giddyup support. Runner can now set backends for a test 2012-09-19 15:09:50 -07:00
Dave Parfitt
e99c8caec4 riakc and riakhttpc bumped to 1.3.1 2012-09-17 21:31:07 -04:00
Joe DeVivo
823e3a7824 Added 1.3.0 tag to riak-erlang-http-client 2012-09-12 12:44:09 -07:00
Dave Parfitt
737df8a396 update riakc to 1.3.0 2012-09-12 15:21:27 -04:00
Russell Brown
db4e220bb3 Add client apps and the ibrowse app to included apps 2012-09-12 11:38:37 +01:00
Joe DeVivo
0ae436db4d Added riak-erlang-http-client to riak_test 2012-09-10 18:43:00 -07:00
Joe DeVivo
385e70361a Added riak-erlang-client to rebar 2012-09-10 16:55:11 -07:00
Joe DeVivo
30b98f42bb Merge from master 2012-08-30 15:57:28 -04:00
Joe DeVivo
9fc3e6a05a First pass at adding getopt to riak_test 2012-08-30 15:52:36 -04:00
Joe DeVivo
0982584548 Fixed default plugin configuration to work with riak_test script 2012-08-30 14:32:13 -04:00
Joe DeVivo
96db4736d9 First pass at adding getopt to riak_test 2012-08-29 10:06:28 -07:00
Sean Cribbs
ce8fd79eb5 Use plain clean/compile commands and add relevant paths before running a test. 2012-08-23 15:42:50 -04:00
Joe DeVivo
f93942e0d4 Updated rebar and rebar.config 2012-08-20 15:24:20 -07:00
Joe DeVivo
be2237f158 Added rebar plugin for the cleaning, compilation, and execution of riak_tests 2012-08-20 08:05:43 -07:00
Joe DeVivo
fcc8a8b0c2 Bumped Lager to 1.2.0 2012-08-16 13:07:01 -07:00