Sean Cribbs
02d7bd0ec3
Log actual search results when hitting the badfun issue.
2013-01-28 10:43:41 -06:00
Sean Cribbs
a730d5d9ca
Merge pull request #183 from basho/sdc-crash-after-upgrade
...
Monitor nodes after they upgrade
2013-01-25 13:35:11 -08:00
Dave Parfitt
be3febffdc
rebase w/ @buddhistheads latest repl refactor
2013-01-25 14:51:56 -05:00
Sean Cribbs
a469d3b24c
Monitor nodes after they upgrade in loaded_upgrade to detect unexpected crashes.
2013-01-25 13:41:58 -06:00
Dave Parfitt
850ca62ff8
keep writing data to repl until node marked dirty
2013-01-25 14:29:37 -05:00
Dave Parfitt
9f34d23e53
Merge pull request #182 from basho/cet-repl2-refactor
...
Moved common repl2 functions to repl_util and added log_to_nodes tracing...
2013-01-25 11:27:21 -08:00
Chris Tilt
d80c30025c
Remove export all from repl tests; make repl_util API explicit
2013-01-25 10:43:29 -08:00
Chris Tilt
1a61e06634
Moved common repl2 functions to repl_util and added log_to_nodes tracing to replication2_dirty test
2013-01-25 10:12:34 -08:00
Joe DeVivo
64424d6817
[KNOWN ISSUE] Joe's log messages should be clearer
2013-01-25 10:33:20 -07:00
Joe DeVivo
1a93a7d2d0
Added check for mixed cluster during search check
2013-01-25 09:40:23 -07:00
Sean Cribbs
4b48a7df5c
Merge pull request #179 from basho/cet-replication-fixes
...
Started refactor and added cluster-wide logging from tests.
2013-01-25 06:40:37 -08:00
Chris Tilt
b0ca6fa2c5
Move log_to_nodes into rt module for general use.
2013-01-24 15:51:33 -08:00
Chris Tilt
a076531785
Started refactor and added cluster-wide logging from tests.
2013-01-24 14:24:16 -08:00
engelsanchez
84626aaaf0
Merge pull request #175 from basho/eas-listkeys-binary-timeout-error
...
Listing keys still times out
2013-01-24 07:22:16 -08:00
Engel A. Sanchez
c765bb9a74
Detect timeout code {error, <<"timeout">>}
...
Saw this unhandled timeout error code here:
http://giddyup.basho.com/#/projects/riak/scorecards/9/9-291/3340
This should fix issue #175
2013-01-24 10:13:58 -05:00
Chris Tilt
cfb7ab29c1
Cleaned up changes per peer review. Replication test passes.
2013-01-23 17:09:27 -08:00
Chris Tilt
11ec2c3380
Added wait for ring to converge after bucket creation for both tests.
2013-01-23 15:55:04 -08:00
Dave Parfitt
65255fa860
typo in replication_upgrade
2013-01-23 16:26:54 -05:00
Dave Parfitt
9e56bf7fd3
repl test cleanup
2013-01-23 14:48:21 -05:00
Sean Cribbs
23cc362b94
Merge pull request #163 from basho/bs-snmp-verify
...
Add SNMP test
2013-01-23 09:39:33 -08:00
Sean Cribbs
d5ea92d2ff
Simplify the SNMP test to reduce number of RPCs we do in each iteration.
2013-01-23 09:37:27 -06:00
Joe DeVivo
5b60832dea
Merge pull request #166 from basho/jd-jmx-gonn-getcha
...
A riak_test for JMX
2013-01-22 14:50:09 -08:00
Joe DeVivo
eb62db3595
Added JMX testing for riak_ee
2013-01-22 12:26:17 -07:00
Joe DeVivo
730b39113c
Refactored download/1 out of client_verify_java
2013-01-22 12:25:56 -07:00
Sean Cribbs
0c4dd17886
Use wait_until instead of random sleeps to compare stats.
2013-01-22 12:51:41 -06:00
Sean Cribbs
a89cd096ff
Fix indentation and syntax error.
2013-01-22 12:27:18 -06:00
bsparrow435
d7b4824542
Verfi snmp yo
2013-01-22 12:27:18 -06:00
Engel A. Sanchez
40a4289ce5
Link PB client to check listkeys process
...
As pointed out by Sean Cribbs, it's kind of weird to have it linked to
the main process like it is now.
2013-01-22 11:16:09 -05:00
Engel A. Sanchez
f1e32b57b2
Retry on listkeys timeout
...
loaded upgrade has a tendency to fail on listkeys time out, which should
not make the fail test. Made the PB client have the auto_reconnect flag
set and added functions to retry reconnecting (as it doesn't happen
instantaneously) and retry the list keys a few times with exponentially
bigger time outs.
2013-01-21 17:57:38 -05:00
Andrew Thompson
c14a337ed0
Merge pull request #128 from basho/adt-repl-bnw-shutdown
...
Add better 'writes while shutdown' tests for replication
2013-01-21 10:58:26 -08:00
Sean Cribbs
cf1a580957
CentOS 5 might have Python 2.4, so we need to be sure we print the version.
2013-01-21 10:43:48 -06:00
engelsanchez
54d8216568
Merge pull request #148 from basho/eas-remove-verify-basic-upgrade-timeout
...
verify_basic_upgrade failures
2013-01-11 11:46:51 -08:00
Engel A. Sanchez
e9505503a2
Removing timeouts from test
2013-01-11 14:18:54 -05:00
Bryan Fink
1652fda04a
break pipe restart input forwarding into its own test
...
The input-forward-after-restart-failure test must run on a single node,
but it's nice to be able to run the others in pipe_verify_exceptions on
multi-node clusters. This commit splits them into different tests to
make that possible.
2013-01-11 12:55:20 -05:00
Bryan Fink
95f6b72efa
retry non-deterministic tests 10 times on failure
...
we may be able to do something smarter for
pipe_verify_exceptions:verify_queue_limit, like a coordinating process
as used in pipe_verify_handoff, but do the simple thing for now
2013-01-11 12:46:19 -05:00
Bryan Fink
4775f257e6
use an intercept instead of riak_core_tracer in pipe handoff test
...
riak_core_tracer was not providing accurate operation counts, but
riak_pipe_vnode_intercept seems to
2013-01-11 12:26:55 -05:00
Bryan Fink
cde2d2d20c
convert riak_pipe eunit system tests to riak_test
...
This will allow us to remove the fragile setup/teardown logic in the
riak_pipe module.
pipe_verify_examples <- half of riak_pipe:basic_test_
pipe_verify_basics <- other half of riak_pipe:basic_test_
pipe_verify_exceptions <- riak_pipe:exception_test_
pipe_verify_handof <- riak_pipe:limits_test_
pipe_verify_sink_types <- riak_pipe:sink_type_test_
2013-01-11 12:25:24 -05:00
Engel A. Sanchez
599d6a2368
Replace timeout with wait for riak_kv service
2013-01-10 17:57:30 -05:00
Jordan West
66d9c1027f
Merge pull request #138 from basho/jrw-verify-health-check
...
riak_kv health check test
2013-01-09 10:36:02 -08:00
Joe DeVivo
1ee93e7e5e
Rolling_Capabilities no long tied to 1.1.4
2013-01-08 11:41:55 -07:00
Dave Parfitt
eb86635a86
Merge pull request #141 from basho/dip_rt_errors
...
Tests for BNW rt_dirty flag
2013-01-08 04:29:37 -08:00
Joe DeVivo
123356600e
Added legacy detection to verify_capabilities
2013-01-07 12:49:31 -07:00
Dave Parfitt
a27c5bdec7
added 2 more tests for rt_dirty
...
- brutal_kill while rt is running. This sets rt_dirty
- make sure rt_dirty is set after restart
2013-01-07 12:13:57 -05:00
Engel A. Sanchez
351467b5b2
Fix race in verify_capabilities
...
We wait until rings are ready, but the capability server is notified
asynchronously through riak_core_ring_events:ring_update and we were
sometimes querying the capability too soon. Now uses wait/retry logic.
Also, removing sleep timers from cap server restart. Now using
wait/retry also to detect a new cap server process.
2013-01-04 11:55:55 -05:00
Dave Parfitt
548ddb79a3
Tests for BNW rt_dirty flag
2013-01-03 15:48:11 -05:00
engelsanchez
c498fae357
Merge pull request #131 from basho/rz-intercept
...
Intercepts - Powerful Feature to Augment Code/State
2013-01-03 06:38:11 -08:00
Jordan West
833339b8e2
riak_kv health check test
2013-01-03 00:22:31 -08:00
engelsanchez
e1f344e7d9
Merge pull request #125 from basho/eas-add-riak_test-behavior
...
Sweet.
Add riak_test behavior
2012-12-28 11:27:04 -08:00
engelsanchez
1d329147aa
Merge pull request #133 from basho/eas-add-search-suite
...
Add search test suite wrapper
2012-12-28 09:19:05 -08:00
Engel A. Sanchez
658da318e8
Change to public riak_search git URL
2012-12-28 12:17:57 -05:00
Engel A. Sanchez
c0c2269c3c
Try running partition repair without AAE
2012-12-27 14:26:14 -05:00
Engel A. Sanchez
dcfb6fc52f
Remove local node assumptions from search test
2012-12-21 18:24:59 -05:00
Engel A. Sanchez
a64a2ec373
Add search test suite wrapper
2012-12-21 12:23:34 -05:00
Jordan West
8039eed077
use lists:usort in verify_reset_bucket_props
2012-12-20 15:30:44 -08:00
Ryan Zezeski
8b91a4b45a
Update gh155 to use intercepts
2012-12-20 16:15:53 -05:00
Joe DeVivo
576a9e59f3
Merge branch 'master' of https://github.com/basho/riak_test
2012-12-19 11:59:32 -07:00
Joe DeVivo
9eed2c2b06
more determinism for verify_capabilities
2012-12-19 11:56:18 -07:00
Engel A. Sanchez
98f8f5d0a7
Allow dupes in link walk test
...
Relaxing the previous version that sorted and deduped results before
comparing with expected. We dedupe at each stage but keep previous
stage results so the number of duplicates should be deterministic but a
bit harder to reason about.
2012-12-19 09:23:49 -05:00
Engel A. Sanchez
ff3ea727cf
Add wildcard tag to link walk test
2012-12-18 21:13:18 -05:00
Engel A. Sanchez
11b16080f4
Add link walk URL test
2012-12-18 15:17:39 -05:00
Andrew Thompson
83ed717b42
Use multiple workers to write while shutting down
2012-12-17 16:36:17 -05:00
Engel A. Sanchez
0e8ecce7d5
Add riak_test behavior
2012-12-14 10:50:49 -05:00
Joe DeVivo
e9be5b7f94
Added -prereq module tag
2012-12-13 16:21:20 -07:00
Jared Morrow
bef38a1ba0
The command for bundler is 'bundle'
2012-12-13 14:09:03 -07:00
Jared Morrow
58ef3c75c4
Refactor prereq checking and installing with functions in rt module
2012-12-13 14:09:03 -07:00
Jared Morrow
f8cbf7717e
Use ?assertCmd macro instead of os:cmd
2012-12-13 14:05:21 -07:00
Jared Morrow
11b265b4a2
Try to catch ruby prereq errors earlier
2012-12-13 14:05:21 -07:00
engelsanchez
16612acd8e
Merge pull request #113 from basho/eas-cleanup-partition-repair
...
partition_repair should not depend on devrel
2012-12-13 13:00:51 -08:00
Engel A. Sanchez
f0cb19e47e
load_modules_on_riak -> load_modules_on_nodes
2012-12-13 14:07:41 -05:00
Dave Parfitt
a1c3e27b80
Merge pull request #91 from basho/dip_bnw_repl
...
Add Replication tests
2012-12-13 10:50:16 -08:00
Engel A. Sanchez
1716f40f08
Remove local assumptions from partition repair
...
This should resolve issue #113 .
Added function to load code modules, clean directories within data and
using new put dir function where needed.
Changing die-die-die! approach to use cast in case remote call to node
to shoot itself in the head hangs.
2012-12-13 11:48:31 -05:00
Joe DeVivo
74f0c93675
Merge pull request #120 from basho/jd-die-die-die
...
Added a more... assertive way of taking down a node.
2012-12-11 09:20:49 -08:00
Joe DeVivo
6a8ecb5232
Merge pull request #119 from basho/jd-python-version
...
Bumped python client version to 1.5-stable, for fuzzy versioning.
2012-12-11 08:54:34 -08:00
Joe DeVivo
a43031b716
python_test: changed syntax of git checkout for branch vs tag
2012-12-11 09:23:01 -07:00
Joe DeVivo
dfd5bc8a3b
Added Service to assertion in partition_repair, so we can tell if it fails on search or kv
2012-12-11 08:57:07 -07:00
Joe DeVivo
f458eade38
Converted a timer:sleep to a rt:wait_until in partition_repair
2012-12-11 08:55:08 -07:00
Joe DeVivo
29a4d3e6fb
Bumped python client version to 1.5-stable, for fuzzy versioning.
2012-12-11 06:49:46 -07:00
engelsanchez
5df5519953
Merge pull request #46 from basho/eas-backup-restore-test
...
port be-systest-backup-and-restore
2012-12-10 12:57:22 -08:00
Engel A. Sanchez
643d063b0a
Better rt/rtdev separation in backup/restore
...
Operations that assume a local node are moved to rtdev, and those that
do not stay in rt.
Also, using PB client instead of internal where possible.
2012-12-10 11:46:41 -05:00
Engel A. Sanchez
2baf7a0761
Add backup restore test
...
This is a port of systest-backup-and-restore from basho_expect with some
changes and additions. Biggest change was not using search-cmd to index
data for search, as it does not seem to update docs, just indexes. Then
added restore on a clean cluster. Basically it does this:
* Writes data, including a search enabled bucket
* Verifies written data, including searches
* Runs backup
* Deletes, modifies some data
* Verifies mods and deletes took
* Runs restore
* Verifies deleted data is back, mods stay (last write wins)
* Stops cluster and wipes out all data dirs
* Verifies clean cluster
* Runs restore
* Verifies data was restored, including searches
Also, adding some more noise to some riak test setup functions. This was
useful when initially debugging the test before it worked the first
time.
2012-12-10 09:02:06 -05:00
Andrew Thompson
a720f2beda
Better write during shutdown tests
2012-12-09 00:51:11 -05:00
Andrew Thompson
65056cb12b
Hack in support for doing PB/HTTP writes while shutting down
2012-12-08 03:56:39 -05:00
Dave Parfitt
b07c0935ba
Merge branch 'dip_bnw_repl' of github.com:/basho/riak_test into dip_bnw_repl
2012-12-05 18:38:44 -05:00
Dave Parfitt
200cf113c7
fixed q migration test
2012-12-05 18:38:18 -05:00
Andrew Thompson
77f7f2d428
Fix wait_for_no_connection for BNW
2012-12-05 14:26:09 -05:00
Jared Morrow
d379b2258e
Add riak getpid
test to basic_command_line
...
This test functionality added to address PID issues found
on FreeBSD using riak_test.
The issue was addressed in basho/riak#251
2012-12-05 10:40:41 -07:00
Joe DeVivo
027a33f109
Merge pull request #48 from basho/jd-loaded-upgrades-day-of-reckoning
...
port be-systest-rolling-upgrade
2012-12-05 06:16:37 -08:00
Andrew Thompson
5084123b0f
Avoid occasional failure
2012-12-04 17:07:37 -05:00
Joe DeVivo
f7ed2c0e2e
loaded_upgrade: changed rem 1000 to rem 20 to actually output messages
2012-12-04 14:55:02 -07:00
Joe DeVivo
81d6f89f6a
Cleanup los processos
2012-12-04 14:47:32 -07:00
Joe DeVivo
95475cda0d
Added list_keys to loaded_upgrade
2012-12-04 12:02:28 -07:00
Jared Morrow
47368d30f4
Remove unneeded comment from python test
2012-12-04 10:52:55 -07:00
Jared Morrow
f55c9aad56
Don't check for scratch directory anymore
2012-12-04 10:48:21 -07:00
Jared Morrow
725b8871ce
Cleanup from previous python test runs
2012-12-04 09:54:35 -07:00
engelsanchez
c8c5226aea
Merge pull request #112 from basho/eas-fix-riak-core-155-meck-refactor
...
Fix after meck refactoring
2012-12-04 08:16:09 -08:00
Engel A. Sanchez
0d1fbec563
Minor style tweaks to meck refactor fix
...
From feedback on the original pull request.
2012-12-04 10:36:58 -05:00
Sean Cribbs
a2fce7eb2f
Death to imports!
2012-12-04 09:24:30 -06:00
Engel A. Sanchez
009fa92bf1
Fix after meck refactoring
...
Plus, fixing a timing issue when restarting node. Sometimes we issued
the gets while the old node was still going down.
2012-12-04 10:19:24 -05:00
Sean Cribbs
29d4b1d787
Fix 'undefined' bug in partition_repair when finding the data dir.
2012-12-04 09:18:19 -06:00
Sean Cribbs
11885dafde
Fix import warnings.
2012-12-04 09:15:37 -06:00