Commit Graph

15 Commits

Author SHA1 Message Date
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
Kelly McLaughlin
80c2c30380 Remove checks for keys and buckets during transfers from verify_listkeys
There is way to ensure what portion of the full harvest is returned by
a coverage request during handoffs. A node may start accepting
requests before the data has been handed off and there is no way to
prevent or detect this and no way to have a deterministic test
condition that checks for the presence of all expected keys. This
change removes any checks during transfers. It also and adds a
directive to wait until transfers have completed after a node is added
or removed and before listkeys result verification resumes.
2013-08-28 10:27:51 -06:00
evan
4b8d835861 - Add tests to validate that bucket list streaming is working.
- Add tests to validate that timeouts are working correctly for
  all variations of list buckets and list keys (stream and non,
  timeouts too-short and long-enough).
- add intercept in the right place to simulate delays for large
  numbers of keys/buckets returned.
2013-04-18 15:52:04 -07:00
Engel A. Sanchez
eb6c3eba15 Fix insufficient vnodes in verify_listkeys
Fixes issue #149, related to basho/riak_core#228
If queried right after it has joined the cluster, a node may not have
the other nodes registered by the node watcher yet. Switching to waiting
until all nodes in the cluster have been registered by the node watcher
before performing query.
Also, querying for all nodes after stopping/starting just in case,
although I haven't seen problems there, but sound reasonable.
Removing assert from the call to wait_until_no_pending_changes since it
is already asserting internally.
2013-01-30 10:48:13 -05:00
Engel A. Sanchez
0e8ecce7d5 Add riak_test behavior 2012-12-14 10:50:49 -05:00
Engel A. Sanchez
3bfabcbc0a Fixing spacing issue 2012-11-21 16:21:26 -05:00
Engel A. Sanchez
042fd80713 Fix wait for service and use in listkeys 2012-11-21 16:11:17 -05:00
Engel A. Sanchez
e524fd8299 Also remove legacy list buckets test 2012-11-16 11:43:55 -05:00
Engel A. Sanchez
b41fa549a0 Removing tests for legacy listkeys 2012-11-15 15:48:51 -05:00
Joe DeVivo
5ee99bbbab Added source headers 2012-10-10 15:14:06 -07:00
Joe DeVivo
15e33bb23f DRYer thanks to more feedback in Pull Request #65 2012-09-26 06:36:03 -07:00
Joe DeVivo
d0885ada5a Changes based on comments in Pull Request #65 2012-09-25 13:51:36 -07:00
Joe DeVivo
839dbd2d4a Now even less code, thanks lists:foldl 2012-09-25 12:47:58 -07:00
Joe DeVivo
6297bd6acd Removed some repitition from verify_listkeys, more to come 2012-09-25 12:32:08 -07:00
Joe DeVivo
24fba02463 First draft of test, works but could be less repeaty 2012-09-25 10:56:09 -07:00