Christopher Meiklejohn
236ad884f9
Verify that after stopping, no sources running.
2014-05-28 14:51:54 +02:00
Christopher Meiklejohn
6cebbd371a
Add ability to test the location_down behavior.
...
Assert that we properly handle retries of failed partitions, when the remote location happens to be down.
2014-05-28 13:59:23 +02:00
Andrew J. Stone
8c3beedcc8
Make repl_cancel_fullsync more robust
...
* add repl_util:wait_until_fullsync_started/1
* add repl_util:wait_until_fullsync_stopped/1
* remove timeouts and use above calls to confirm our test is in the
right state
2014-05-27 17:41:15 -04:00
Andrew J. Stone
59ad7841ba
add stop command and read assertion to repl_cancel_fullsync
2014-05-27 13:04:19 -04:00
Christopher Meiklejohn
dfdfb51739
Ensure we can cancel a fullsync and restart.
2014-05-26 23:03:04 +02:00
Kelly McLaughlin
19ae3dee6c
Merge pull request #600 from basho/bug/er/search-switch-btype
...
Update mapred_search_switch with new behaviors
2014-05-23 10:44:17 -06:00
Kelly McLaughlin
d7da9f1711
Merge pull request #608 from basho/bug/mw/repl2-allow-mult
...
Removed 'allow_mult false' for test.
2014-05-22 16:51:48 -06:00
Kelly McLaughlin
bc52f94bda
Merge branch 'refactor/change-ok-test-returns'
2014-05-22 16:35:08 -06:00
Jon Anderson
29842f8b77
Merge pull request #615 from basho/jrd-enhance-security-tests-rebased
...
Add tests for bugs reported against riak_core: 917, 918
2014-05-22 18:33:36 -04:00
John R. Daily
429064e18b
Add tests for bugs reported against riak_core: 917, 918
2014-05-22 18:18:32 -04:00
Kelly McLaughlin
1f538d7ee0
Update tests that return something other than pass for success
...
As of commit 3044839456
tests that
return something other than the prescribed success atom 'pass' to
indicate success result in test failure. Change tests that return the
atom 'ok' or some other value to instead return 'pass' to indicate
success.
2014-05-22 15:54:23 -06:00
Reid Draper
9cf34e9c64
Merge pull request #443 from basho/feature/update-cs-test-runner-for-riak-2.0
...
Update Riak CS test runner for Riak 2.0
2014-05-22 09:35:10 -04:00
Ryan Zezeski
3044839456
Merge pull request #613 from basho/rz/no-fails
...
A return of `fail` should actually report failure
2014-05-21 18:29:53 -04:00
rzezeski
e0d647662f
Convert 'fail' to a 'exit(fail)'
...
A wrapper must be used to convert a test's return to an exit code.
Otherwise the returned term is ignored and tests that return 'fail'
are treated as passing.
2014-05-21 17:16:11 +00:00
rzezeski
f78de19560
Add always_fail_test
...
Add a test that always fails to make sure that the pass/fail logic is
working.
2014-05-21 17:13:27 +00:00
Sean Cribbs
02b084747e
Merge pull request #607 from basho/bugfix/sdc/keylist-security-btypes
...
Added check for list-keys and 2i security on non-default bucket-types.
2014-05-21 10:27:30 -06:00
Russell Brown
8d2daa62e6
Update dt test for reset-remove semantic
...
And dopping of "add" fro Map API
2014-05-20 14:41:15 +01:00
Sean Cribbs
6cfdf26a4b
Check for props on non-existent bucket type. See basho/riak_api#62
2014-05-19 15:21:49 -05:00
Sean Cribbs
20868297c1
Update rebar to 2.3.0.
2014-05-19 14:53:19 -05:00
Micah Warren
43ae4e2871
Removed 'allow_mult false' for test.
...
This reverses an earlier change to support a feature that has been stripped
(for now). When said feature is put back in, it should support multi.
Setting this to allow mutlt = true allows for more confidence in tests.
2014-05-19 12:48:08 -05:00
Sean Cribbs
c2c97efb82
Use the wrapper function for getting a PB connection.
2014-05-19 11:32:02 -05:00
Sean Cribbs
3476bf4d7f
Added check for list-keys and 2i security on non-default bucket-types.
2014-05-17 12:46:23 -07:00
Joe DeVivo
cfd473ad23
Merge pull request #603 from basho/refactor/confbal/ssl
...
Using riak_core ssl app settings instead of riak_api
2014-05-13 13:48:55 -07:00
Steve Vinoski
6e7bbb8b27
remove localhost dependencies in http_security test
...
Make sure the http_security test works when run on an actual cluster under
rtcloud.
2014-05-13 15:48:09 -04:00
Jon Anderson
9e5cf802ac
Merge pull request #604 from basho/bugfix/jra/listkeys-eqfsm-ifdef
...
Detect EQC in riak_tests and set EQC in rebar plugin
2014-05-13 14:43:43 -04:00
Jon Anderson
847617c8e9
Add handling to rebar plugin to detect the presence of EQC.
2014-05-13 14:02:57 -04:00
Joe DeVivo
d654a438d7
Using riak_core ssl app settings instead of riak_api
2014-05-13 09:04:34 -07:00
Jon Anderson
6fd07010d7
Add EQC ifdefs.
2014-05-13 11:44:45 -04:00
Engel A. Sanchez
bda1b5c3cf
Merge pull request #543 from basho/refactor/one-wait-4-aae-trees
...
Merge repl and rt versions of wait until AAE trees build
2014-05-12 15:54:36 -04:00
Engel A. Sanchez
31588c5d22
Replacing repl_util AAE wait with rt version
2014-05-12 14:55:59 -04:00
Engel A. Sanchez
3c3a39bc41
Ensure AAE tree wait fails test if timeout
...
Some refactoring to make sure errors get reported properly when things
go wrong. Wait until functions need to assert on the return value, and
this return value is more useful if it contains errors from nodes timing
out, Bad RPCs, etc.
2014-05-12 12:23:19 -04:00
Andrew Thompson
29def51378
Merge pull request #601 from basho/adt-use-make_certs
...
Switch all the selfsigned certificates to be generated on demand
2014-05-09 22:41:07 -04:00
Andrew Thompson
6c4afcbcde
Switch all the selfsigned certificates to be generated on demand
...
Using the make_cert tool we can generate arbitrary certificate chains on
demand, so they never have to be regenerated.
2014-05-09 14:46:52 -04:00
Andrew Thompson
97a390595c
Merge pull request #579 from basho/adt-per-test-coverage
...
Allow cover_modules and cover_apps to be per test module
2014-05-09 14:20:09 -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
Jon Anderson
0daccbbb81
Refactor test.
...
- Move noshrink to g_uuid.
- Remove dead code.
2014-05-09 12:27:50 -04:00
Jon Anderson
fe8ffc6c6c
Add noshrink call to g_uuid() so avoid shrinking on uuid generation.
2014-05-09 12:01:05 -04:00
Jon Anderson
576f8961d2
Remove unnecessary flags from State.
2014-05-09 11:15:41 -04:00
Jared Morrow
499a4136f4
Fix meck to a tag
2014-05-09 09:13:19 -06:00
Jon Anderson
4ece10f424
Complete basic test.
...
- Fix single bucket handling.
- Remove unused preconditions from statem test.
- Add postconditions for verification.
2014-05-09 10:50:13 -04:00
Eric Redmond
0f6cda672b
Bucket type missing from MR verify, search with wildcard
2014-05-08 21:38:41 -07:00
Kelly McLaughlin
acd0f3fbe6
Merge branch 'bugfix/verify-busy-dist-port-hang'
2014-05-08 16:18:43 -06:00
Jon Anderson
5a78809cde
Rename states to be more sensible.
2014-05-08 15:25:38 -04:00
Andrew Thompson
334dc40089
Fix coverage reporting
2014-05-08 13:20:47 -04:00
Christopher Meiklejohn
de0f50fd86
Merge pull request #597 from basho/bugfix/csm/riak_control
...
Resolve riak_control failures.
2014-05-08 12:40:43 -04:00
Christopher Meiklejohn
32b6a598e9
Resolve riak_control failures.
...
Resolve failures with cuttlefish configuration changes in Riak 2.0.
Remove riak_control_upgrade, since riak_control should cover those use
cases completely.
2014-05-08 12:40:13 -04:00
Jon Anderson
3d4a836915
Added druuid depenency to fix g_uuid() failure in
...
verify_listkeys_eqcfsm.
2014-05-07 11:35:34 -04:00
Jon Anderson
6131a7be5e
Fixed post-test State handling for cleanup.
2014-05-06 17:28:12 -04:00
Kelly McLaughlin
0de33c7b66
Resolve issue with verify_busy_dist_port test hanging indefinitely
...
The verify_busy_dist_port helper function cause_bdp:spam_nodes/1
recently changed to be more aggressive in triggering busy_dist_port
warnings. The function changed to spawn 1 million processes to ensure
the test generated enough activity to trigger the warnings, but that
number of processes exceeds the 256 thousand process limit that is the
Riak default. One consequence of this can be that the rex server
responsible for handling rpc calls can crash. In some cases this leads
to rpc calls by riak_test to shutdown the riak nodes involved in the
test to hang indefinitely. This change reduces the number of processes
spawned to 200 thousand. This should still be enough processes to
trigger the busy_dist_port warnings, but without exceeding the beam
process limit.
2014-05-06 14:40:47 -06:00
Jon Anderson
6ce90f87be
Eqc-fsm version of verify_listkeys_eqcfsm.
2014-05-06 15:28:28 -04:00