Commit Graph

1976 Commits

Author SHA1 Message Date
Evan Vigil-McClanahan
7f0b898e33 Merge pull request #625 from basho/membackend-test
add expanded memory backend tests
2014-06-03 11:50:01 -07:00
Engel A. Sanchez
595c13019d Add wait until bucket type visible
Adding a test to verify a bucket type is visible from a number of nodes
since the active status is given as long as the claimant sees it. But
requests to other nodes can end up hitting the dreaded {error, no_type}.
Also added a general utility that can be used for bucket type checks and
for general verification of bucket properties across nodes.
2014-06-03 14:03:24 -04:00
John Burwell
36741bb977 - Adds tests to verify the operation of list keys and list buckets when
an undefined bucket type is specified.  (defect #875)
- Adds a description of the reset-current-env.sh script and its
  usage to README.md
- Corrects a spelling mistake in an information message emitted by
  the reset-current-env.sh script
2014-06-03 13:44:05 -04:00
Micah Warren
fc13bbcf3c Added cacert to http_security path.
While r16b02-basho5 did not need the cacertfile path put in, r16b03 did.
The test still passes r16b02-basho5 with the added cacertfile line. Since
there is no harm in putting it in, better for forwards compatibility than
not.
2014-06-03 12:41:35 -05:00
Andrew J. Stone
2c7fc9fb4b Merge pull request #628 from basho/bugfix/ensemble-timouts
increase timeouts for SC operations in ensemble tests
2014-06-03 13:29:49 -04:00
Sean Cribbs
d13808f417 Merge pull request #629 from basho/sdc-remove-clients-tests
Remove clients tests
2014-06-03 12:21:35 -05:00
Sean Cribbs
3ffab65863 Remove clients tests because they are already running on every commit on builders. 2014-06-03 11:44:07 -05:00
Micah
b14d093ce5 Merge pull request #589 from basho/vinoski/http_security_cluster
remove localhost dependencies in http_security test
2014-06-03 11:31:00 -05:00
Christopher Meiklejohn
4580448bde Merge pull request #609 from basho/features/csm/floppystore
Adapt riak_test for riak_core applications.
2014-06-03 10:44:46 -04:00
Christopher Meiklejohn
ac0192fbd1 Adapt riak_test for riak_core applications.
Adapt riak_test to more easily be used with riak_core based
applications.  This involves removing a few assumptions about executable
names.
2014-06-03 10:35:47 -04:00
evan
b431ba19a1 reorder tests to avoid test-breaking side-effects 2014-06-02 15:23:33 -07:00
evan
0295115e14 fix for ee versions 2014-06-02 13:53:35 -07:00
evan
bdeb8a4138 fix coyote error 2014-06-02 13:40:21 -07:00
Andrew J. Stone
a35be4bf28 increase timeouts for SC operations in ensemble tests 2014-06-02 16:40:19 -04:00
evan
131ee7bf2f add debugging info 2014-06-02 13:25:44 -07:00
Micah Warren
2b6c86b8bc Removed reference to outdated add-map feature. 2014-06-02 15:18:21 -05:00
evan
492f52ce6c try to make the eviction check fully deterministic 2014-06-02 11:01:17 -07:00
bsparrow435
941efca4ac Disconnect and cancelled connection tests
Adding tests and intercepts for connection_mgr to test disconnect and
cancelled connection cleanup.
2014-06-02 13:03:11 -04:00
Sean Cribbs
98b180ae4c Merge pull request #611 from basho/feature-bug/rdb/removes-remove
Update dt test for reset-remove semantic
2014-06-01 15:42:10 -05:00
evan
5d5cdce079 add expanded memory backend tests 2014-05-31 09:17:41 -07:00
Jon Anderson
27390fb2e2 Merge pull request #624 from basho/bugfix/jra/rex
Add test for safe_rpc when rex is down
2014-05-30 16:44:35 -04:00
Jon Anderson
110bf7e1ab Restart rex and make sure rpc works again. 2014-05-30 15:44:06 -04:00
Jon Anderson
8623a7415c Add riak_test to exercise riak_core_util:safe_rpc rex problem fix. 2014-05-30 14:55:34 -04:00
Engel A. Sanchez
177f901f50 Merge pull request #623 from basho/bugfix/bucket-types-and-mr-key-filter
Verify bucket type + MR filters fix
2014-05-30 13:07:03 -04:00
Engel A. Sanchez
7d8eae7386 Verify bucket type + MR filters fix 2014-05-30 12:00:20 -04:00
Kelly McLaughlin
ce401b0b0d Merge branch 'bugfix/replication2-race' 2014-05-30 09:23:54 -06:00
Christopher Meiklejohn
b1752e0a26 Merge pull request #617 from basho/feature/csm/location-down
Add ability to test the location_down behavior.
2014-05-30 10:49:59 -04:00
Kelly McLaughlin
d82e65c633 Fix a race condition in replication2 test
Remove an assertion based on reading keys a single time after realtime
replication is re-enabled in the test. Instead just rely on the wait
condition that already followed the assertion to read and verify the
same keys.
2014-05-29 16:56:21 -06:00
Micah Warren
c313638cb4 Using different directory for certs than pb_cipher_suites
There are different cert chains for pb_cipher_suites and http_security.
The certs were not fully cleaned between tests, so it would cause the
test to fail. By just using a different directory to put the certs into,
it better isolates the tests.
2014-05-29 13:48:54 -05:00
Micah Warren
ae30256d20 Fixed return from confirm so test acutally passes. 2014-05-29 13:48:38 -05:00
Sean Cribbs
ef56dadad1 Merge pull request #610 from basho/bugfix/sdc/riak-api-61-error-no-type
Check for the correct bucket props response on non-existent type
2014-05-29 12:11:02 -05:00
Christopher Meiklejohn
a07018cb4c Merge pull request #618 from basho/feature/csm/cancel-fullsync
Ensure we can cancel a fullsync and restart.
2014-05-28 21:34:38 +02:00
Andrew J. Stone
6cd649d5ab Ensure keylist pids are stopped when fs cancelled
When fullsync is cancelled, we want to make sure that the keylist pids
it was using actually go away. Add that code to repl_cancel_fullsync.
2014-05-28 15:23:41 -04:00
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