Commit Graph

438 Commits

Author SHA1 Message Date
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
233b161fcd Added some more verbosity and safety based on PR #120 2012-12-11 09:29:42 -07: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
4550e6f5fa Added timeout fun to wait_until 2012-12-11 07:47:51 -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
Joe DeVivo
51c64717ab Merge pull request #118 from basho/jd-a-la-carte-test-reporting
a la carte test reporting
2012-12-06 13:46:38 -08:00
Joe DeVivo
271eca3055 fine, we'll exit with code 1 2012-12-06 14:41:27 -07:00
Joe DeVivo
390c41b6c3 Clean exit when there are no tests to run 2012-12-06 14:26:36 -07:00
Joe DeVivo
4da4039806 moved some stuff out of riak_test:main/1 2012-12-06 11:46:14 -07:00
Joe DeVivo
ed6178cc53 Added a la carte test reporting for riak_test 2012-12-06 11:21:18 -07:00
Joe DeVivo
cda67aad1d Merge pull request #117 from basho/jd-these-pipes-are-clean
Tweaks to pipe cleaning file finding
2012-12-06 07:49:23 -08:00
Joe DeVivo
cdb083019b Tweaks to pipe cleaning file finding 2012-12-06 08:32:13 -07: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
Jared Morrow
97a9831b3c Merge pull request #116 from basho/jem-cmd-line-getpid
Add `riak getpid` test to basic_command_line
2012-12-05 11:56:32 -08:00
Andrew Thompson
77f7f2d428 Fix wait_for_no_connection for BNW 2012-12-05 14:26:09 -05:00
Joe DeVivo
1517c40553 Merge pull request #110 from basho/sdc-cleanup-pipes
Cleanup lingering pipes from previous runs.
2012-12-05 10:39:54 -08: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
Andrew Thompson
7319d66ba0 Don't crash the test on write failures 2012-12-04 17:07:08 -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
c16b361af7 Merge pull request #115 from basho/jem-python-dir-cleanup
Cleanup from previous python test runs
2012-12-04 09:49:34 -08: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
Joe DeVivo
6a62e77300 Merge pull request #114 from basho/jd-friendly-errors-for-non-console-viewing-a-joe-devivo-joint
Shifted error output into lager for great readability
2012-12-04 08:27:19 -08:00
Joe DeVivo
fce50f3993 stderr_to_stdout boyeeeee 2012-12-04 09:18:59 -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
Joe DeVivo
1dfd8c2115 Shifted error output into lager for great readability 2012-12-04 09:07:36 -07:00
Sean Cribbs
403f91413d Merge pull request #111 from basho/sdc-fix-repair
Fix partition_repair when run from the suite
2012-12-04 07:49:06 -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
Andrew Thompson
c923cac9fa Fix replication SSL test, broke because of expired certificates 2012-12-04 00:13:21 -05:00
Sean Cribbs
16e13afe67 Cleanup lingering pipes from previous runs.
While not technically harmful (Riak and to_erl do just fine), the
extra files in PIPE_DIR confuse the Ruby client tests, which expect
only one set of FIFOs to be present. Since we start the nodes from a
clean state, but PIPE_DIR lives outside the node roots, it seems
reasonable to clean them up before starting a test, at least until the
Ruby client can identify and ignore stale FIFOs.
2012-12-03 17:22:21 -06:00